From dae06193b54961d551abd7a35e079431a6759006 Mon Sep 17 00:00:00 2001 From: zuber Date: Wed, 19 Aug 2009 23:47:37 +0200 Subject: [PATCH] =?utf8?q?Atrybut=20key=20modelu=20toolbar.button=20nie=20?= =?utf8?q?jest=20ju=C5=BC=20wymagany.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- apps/toolbar/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1