|
|
@ -8,7 +8,7 @@ class i2phost(models.Model): |
|
|
|
description = models.TextField("Description", blank=True) |
|
|
|
description = models.TextField("Description", blank=True) |
|
|
|
date_added = models.DateTimeField(auto_now_add=True) |
|
|
|
date_added = models.DateTimeField(auto_now_add=True) |
|
|
|
# Last time this host was up |
|
|
|
# Last time this host was up |
|
|
|
last_seen = models.DateTimeField() |
|
|
|
last_seen = models.DateTimeField(null=True) |
|
|
|
# Not-activated hosts will not appear in exported hosts.txt |
|
|
|
# Not-activated hosts will not appear in exported hosts.txt |
|
|
|
activated = models.BooleanField(default=False) |
|
|
|
activated = models.BooleanField(default=False) |
|
|
|
# Indicator for hosts added from external source |
|
|
|
# Indicator for hosts added from external source |
|
|
|