mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-09 06:18:05 +00:00
web/postkey/models.py: add "description" field
This commit is contained in:
parent
08ffe2942e
commit
662399433d
@ -5,5 +5,6 @@ class i2phost(models.Model):
|
|||||||
name = models.CharField("I2P hostname", max_length=67, unique=True)
|
name = models.CharField("I2P hostname", max_length=67, unique=True)
|
||||||
# Maximum key length 616 bytes (to account for certs up to 100 bytes).
|
# Maximum key length 616 bytes (to account for certs up to 100 bytes).
|
||||||
b64hash = models.CharField("Base 64 hash", max_length=616, unique=True)
|
b64hash = models.CharField("Base 64 hash", max_length=616, unique=True)
|
||||||
|
description = models.TextField("Description", blank=True)
|
||||||
date_added = models.DateTimeField(auto_now_add=True)
|
date_added = models.DateTimeField(auto_now_add=True)
|
||||||
activated = models.BooleanField(default=False)
|
activated = models.BooleanField(default=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user