1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-08 22:07:55 +00:00

web/postkey/models.py: add "last_seen" field

This commit is contained in:
Hidden Z 2010-10-14 20:00:49 +00:00
parent b083f59957
commit d6c360605b

View File

@ -7,6 +7,8 @@ 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)
# Last time this host was up
last_seen = models.DateTimeField()
# Not-activated hosts will not appear in exported hosts.txt
activated = models.BooleanField(default=False)
# Indicator for hosts added from external source