From 7410eb788dd9d2d84d4cf3bb0eea37daa6656c13 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Thu, 14 Oct 2010 18:21:50 +0000 Subject: [PATCH] web/postkey/models.py: add "external" field (bool) It's needed for marking imported hosts from external sources. Availability checks will not remove this hosts until other host-add services implement auto-removing. --- web/postkey/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web/postkey/models.py b/web/postkey/models.py index 7ab61ae..16c7e70 100644 --- a/web/postkey/models.py +++ b/web/postkey/models.py @@ -8,6 +8,7 @@ class i2phost(models.Model): description = models.TextField("Description", blank=True) date_added = models.DateTimeField(auto_now_add=True) activated = models.BooleanField(default=False) + external = models.BooleanField(default=False) def __unicode__(self): return self.name