Commit 21dfb001 by Bach Dániel

firewall: add verbose_name to BlacklistItem

parent d60bb407
...@@ -950,6 +950,10 @@ class BlacklistItem(models.Model): ...@@ -950,6 +950,10 @@ class BlacklistItem(models.Model):
def __unicode__(self): def __unicode__(self):
return self.ipv4 return self.ipv4
class Meta(object):
verbose_name = _('blacklist item')
verbose_name_plural = _('blacklist')
@models.permalink @models.permalink
def get_absolute_url(self): def get_absolute_url(self):
return ('network.blacklist', None, {'pk': self.pk}) return ('network.blacklist', None, {'pk': self.pk})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment