8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 23:43:47 +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
def dns_entry(self):
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):
if not self.get_extension():