8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 20:03:11 +00:00

Fix erreur cname

This commit is contained in:
chirac 2017-09-06 11:22:43 +02:00
parent 3274079062
commit 7fd52b2313

View file

@ -289,7 +289,7 @@ class Domain(models.Model):
@cached_property @cached_property
def dns_entry(self): def dns_entry(self):
if self.cname: if self.cname:
return str(self.name) + " IN CNAME " + str(self.cname) return str(self.name) + " IN CNAME " + str(self.cname) + "."
def save(self, *args, **kwargs): def save(self, *args, **kwargs):
if not self.get_extension(): if not self.get_extension():