From 6e1063bb0e9022775032ea7780286acea04ca954 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Fri, 23 Nov 2018 16:28:05 +0100 Subject: [PATCH] Add description field to Tokens --- api/models.py | 1 + 1 file changed, 1 insertion(+) 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)