X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3d0adb378d1e6699875f1de5ed68989fb3a25877..2d40a900768a7c962dc67a8b8bdc332f65fa110b:/apps/toolbar/models.py?ds=sidebyside diff --git a/apps/toolbar/models.py b/apps/toolbar/models.py index 8e2387dc..a3db70f1 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(blank=True, max_length=1) position = models.IntegerField(default=0) group = models.ManyToManyField(ButtonGroup)