diff --git a/nsupdate/main/models.py b/nsupdate/main/models.py index 3d94f7a..54cd677 100644 --- a/nsupdate/main/models.py +++ b/nsupdate/main/models.py @@ -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):