typo in model

This commit is contained in:
Fabian Faessler 2013-09-29 17:45:50 +02:00
parent 8e66e702f7
commit 43ec24bcf8

View File

@ -67,7 +67,7 @@ class Host(models.Model):
unique_together = (('subdomain', 'domain'),)
def get_fqdn(self):
return self.subdomain.self.domain.domain
return self.subdomain+'.'+self.domain.domain
def post_delete_host(sender, **kwargs):