From 650cb7e30e5ed7def79c14f6ae63353bbf4441f4 Mon Sep 17 00:00:00 2001 From: zuber Date: Wed, 19 Aug 2009 22:11:02 +0200 Subject: [PATCH 1/1] =?utf8?q?Wpisywanie=20odpowiedniego=20znaku=20zamiast?= =?utf8?q?=20keyCode=20w=20atrybut=20key=20modelu=20toolbar.button.=20Nies?= =?utf8?q?tety=20wymaga=20to=20prze=C5=82adowania=20bazy=20dla=20aplikacji?= =?utf8?q?=20toolbar.?= 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 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) -- 2.20.1