fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes
[redakcja.git]
/
src
/
toolbar
/
admin.py
diff --git
a/src/toolbar/admin.py
b/src/toolbar/admin.py
index
654480c
..
9d3c68d
100644
(file)
--- a/
src/toolbar/admin.py
+++ b/
src/toolbar/admin.py
@@
-15,7
+15,7
@@
class ButtonAdminForm(forms.ModelForm):
value = self.cleaned_data['params']
try:
return json.dumps(json.loads(value))
value = self.cleaned_data['params']
try:
return json.dumps(json.loads(value))
- except ValueError
,
e:
+ except ValueError
as
e:
raise forms.ValidationError(e)
raise forms.ValidationError(e)