Extend State name to 32 chars

This commit is contained in:
Ariel Rin
2021-10-20 15:24:54 +10:00
parent 2da78f7793
commit 6dc96bb348
2 changed files with 19 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ logger = logging.getLogger(__name__)
class State(models.Model):
name = models.CharField(max_length=20, unique=True)
name = models.CharField(max_length=32, unique=True)
permissions = models.ManyToManyField(Permission, blank=True)
priority = models.IntegerField(unique=True, help_text="Users get assigned the state with the highest priority available to them.")