Browse Source

web/postkey/models.py: add proxy model needed for django admin

Proxy model needed for displaying not approved hosts in django admin
separatelly.
pull/1/head
Hidden Z 14 years ago
parent
commit
01f13f2208
  1. 5
      web/postkey/models.py

5
web/postkey/models.py

@ -20,3 +20,8 @@ class i2phost(models.Model): @@ -20,3 +20,8 @@ class i2phost(models.Model):
def __unicode__(self):
return self.name
class PendingHost(i2phost):
""" Proxy model needed for displaying not approved hosts in django admin separatelly """
class Meta:
proxy = True

Loading…
Cancel
Save