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:
parent
9f7b3d48fd
commit
4bf683073f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user