diff --git a/api/models.py b/api/models.py index e70bddf..9ac1319 100644 --- a/api/models.py +++ b/api/models.py @@ -4,6 +4,7 @@ from minecraft_manager.api.api import generate_password class Token(models.Model): key = models.CharField("Key", default=generate_password, max_length=50, unique=True) + description = models.CharField("Description", max_length=200, blank=True) active = models.BooleanField("Active", default=True) web_get_permission = models.BooleanField("Web GET", default=False) web_post_permission = models.BooleanField("Web POST", default=False)