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:
parent
3a41972dd9
commit
01f13f2208
@ -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…
x
Reference in New Issue
Block a user