1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 06:18:05 +00:00

web/postkey/models.py: moar comments

This commit is contained in:
Hidden Z 2010-10-14 18:25:34 +00:00
parent 7410eb788d
commit f2d7647b59

View File

@ -7,7 +7,9 @@ class i2phost(models.Model):
b64hash = models.CharField("Base 64 hash", max_length=616) b64hash = models.CharField("Base 64 hash", max_length=616)
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)
# Not-activated hosts will not appear in exported hosts.txt
activated = models.BooleanField(default=False) activated = models.BooleanField(default=False)
# Hosts from external sources shouldn't be autoremoved
external = models.BooleanField(default=False) external = models.BooleanField(default=False)
def __unicode__(self): def __unicode__(self):