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

web/postkey/models.py: add new field "approved"

It's needed for doing confirmations manually.
This commit is contained in:
Hidden Z 2010-10-28 19:01:04 +00:00
parent 9f7b3d48fd
commit 4bf683073f

View File

@ -15,6 +15,8 @@ class i2phost(models.Model):
activated = models.BooleanField(default=False)
# Indicator for hosts added from external source
external = models.BooleanField(default=False)
# Not approved hosts will not appear in exported hosts.txt
approved = models.BooleanField(default=False)
def __unicode__(self):
return self.name