fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Potrzebny refaktoring klasy Editor.
[redakcja.git]
/
apps
/
toolbar
/
models.py
diff --git
a/apps/toolbar/models.py
b/apps/toolbar/models.py
index
8e2387d
..
a3db70f
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)
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(blank=True, max_length=1
)
position = models.IntegerField(default=0)
group = models.ManyToManyField(ButtonGroup)
position = models.IntegerField(default=0)
group = models.ManyToManyField(ButtonGroup)