From cd04cafd888876edf5d212e9aba14d4b2a16b9c8 Mon Sep 17 00:00:00 2001 From: AlessioNar Date: Sat, 10 Feb 2024 18:36:38 +0100 Subject: [PATCH] corrected suffix_key --- backend/label_types/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/label_types/models.py b/backend/label_types/models.py index 2c45491c..f319755f 100644 --- a/backend/label_types/models.py +++ b/backend/label_types/models.py @@ -20,7 +20,7 @@ class LabelType(models.Model): choices=(("ctrl", "ctrl"), ("shift", "shift"), ("ctrl shift", "ctrl shift")), ) suffix_key = models.CharField( - max_length=1, blank=True, null=True, choices=tuple((c, c) for c in string.digits + string.ascii_lowercase) + max_length=256, blank=True, null=True, choices=tuple((c, c) for c in string.digits + string.ascii_lowercase) ) project = models.ForeignKey( to=Project,