Browse Source

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

It's needed for doing confirmations manually.
pull/1/head
Hidden Z 14 years ago
parent
commit
4bf683073f
  1. 2
      web/postkey/models.py

2
web/postkey/models.py

@ -15,6 +15,8 @@ class i2phost(models.Model): @@ -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…
Cancel
Save