Add description field to Tokens
parent
73a6c51d44
commit
6e1063bb0e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue