8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00

Fix erreur cname

This commit is contained in:
Gabriel Detraz 2017-09-06 11:22:43 +02:00
parent d25ae29736
commit 59d8e71f37

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():