typo in model
This commit is contained in:
parent
8e66e702f7
commit
43ec24bcf8
@ -67,7 +67,7 @@ class Host(models.Model):
|
|||||||
unique_together = (('subdomain', 'domain'),)
|
unique_together = (('subdomain', 'domain'),)
|
||||||
|
|
||||||
def get_fqdn(self):
|
def get_fqdn(self):
|
||||||
return self.subdomain.self.domain.domain
|
return self.subdomain+'.'+self.domain.domain
|
||||||
|
|
||||||
|
|
||||||
def post_delete_host(sender, **kwargs):
|
def post_delete_host(sender, **kwargs):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user