X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d154270c884fe196fb56fa3123183c3408a45ecc..4219adb709c6e32131349b39dd6d7b41e0de3f95:/apps/toolbar/models.py diff --git a/apps/toolbar/models.py b/apps/toolbar/models.py index 8e2387dc..7a83d1aa 100644 --- a/apps/toolbar/models.py +++ b/apps/toolbar/models.py @@ -19,7 +19,7 @@ class Button(models.Model): label = models.CharField(max_length=32) slug = models.SlugField() tag = models.CharField(max_length=128) - key = models.IntegerField(blank=True, null=True) + key = models.CharField(max_length=1) position = models.IntegerField(default=0) group = models.ManyToManyField(ButtonGroup)