fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7566983
)
Wpisywanie odpowiedniego znaku zamiast keyCode w atrybut key modelu toolbar.button...
author
zuber
<marek@stepniowski.com>
Wed, 19 Aug 2009 20:11:02 +0000
(22:11 +0200)
committer
zuber
<marek@stepniowski.com>
Wed, 19 Aug 2009 20:11:02 +0000
(22:11 +0200)
apps/toolbar/models.py
patch
|
blob
|
history
diff --git
a/apps/toolbar/models.py
b/apps/toolbar/models.py
index
8e2387d
..
7a83d1a
100644
(file)
--- 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)