8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 15:33:45 +00:00

Update models.py alignement

This commit is contained in:
chirac 2018-07-29 16:45:12 +02:00
parent 95dc427dc4
commit 4e9b0586ed

View file

@ -689,7 +689,7 @@ class DName(RevMixin, AclMixin, models.Model):
@cached_property
def dns_entry(self):
"""Returns the DNAME record for the DNS zone file."""
return str(self.alias) + " IN DNAME " + str(self.zone)
return str(self.alias).ljust(15) + " IN DNAME " + str(self.zone)
class Srv(RevMixin, AclMixin, models.Model):