1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 20:44:55 +00:00

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

Proxy model needed for displaying not approved hosts in django admin
separatelly.
This commit is contained in:
Hidden Z 2010-10-28 19:06:40 +00:00
parent 3a41972dd9
commit 01f13f2208

View File

@ -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