X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/650cb7e30e5ed7def79c14f6ae63353bbf4441f4..8dab5054c8fd93cbb2c3067fe48a5efff0c75867:/apps/toolbar/models.py?ds=inline diff --git a/apps/toolbar/models.py b/apps/toolbar/models.py index 7a83d1aa..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.CharField(max_length=1) + key = models.CharField(blank=True, max_length=1) position = models.IntegerField(default=0) group = models.ManyToManyField(ButtonGroup)