From: zuber Date: Wed, 19 Aug 2009 21:47:37 +0000 (+0200) Subject: Atrybut key modelu toolbar.button nie jest już wymagany. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/dae06193b54961d551abd7a35e079431a6759006?ds=sidebyside Atrybut key modelu toolbar.button nie jest już wymagany. --- 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)