diff --git a/nsupdate/main/models.py b/nsupdate/main/models.py index bf07daa..e9ebeaa 100644 --- a/nsupdate/main/models.py +++ b/nsupdate/main/models.py @@ -14,7 +14,7 @@ class Host(models.Model): created_by = models.ForeignKey(User) def __unicode__(self): - return u"%s (%s)" % (self.fqdn, self.created_by) + return u"%s - %s" % (self.fqdn, self.comment) diff --git a/nsupdate/main/templates/main/delete_host.html b/nsupdate/main/templates/main/delete_host.html index 57d7b98..cbb2186 100644 --- a/nsupdate/main/templates/main/delete_host.html +++ b/nsupdate/main/templates/main/delete_host.html @@ -4,8 +4,8 @@ {% block content %}