mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-29 16:04:15 +00:00
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.
This commit is contained in:
parent
e3ec6c34bc
commit
7410eb788d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user