diff --git a/web/postkey/models.py b/web/postkey/models.py index 16c7e70..cb5eac3 100644 --- a/web/postkey/models.py +++ b/web/postkey/models.py @@ -7,7 +7,9 @@ class i2phost(models.Model): b64hash = models.CharField("Base 64 hash", max_length=616) description = models.TextField("Description", blank=True) date_added = models.DateTimeField(auto_now_add=True) + # Not-activated hosts will not appear in exported hosts.txt activated = models.BooleanField(default=False) + # Hosts from external sources shouldn't be autoremoved external = models.BooleanField(default=False) def __unicode__(self):