fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2519a20
)
FIX: Nie działało zapisywanie z powodu błędu w formularzu.
author
zuber
<marek@stepniowski.com>
Mon, 19 Oct 2009 14:17:34 +0000
(16:17 +0200)
committer
zuber
<marek@stepniowski.com>
Mon, 19 Oct 2009 14:17:34 +0000
(16:17 +0200)
apps/api/forms.py
patch
|
blob
|
history
diff --git
a/apps/api/forms.py
b/apps/api/forms.py
index
2c9ae66
..
c5e0b67
100644
(file)
--- a/
apps/api/forms.py
+++ b/
apps/api/forms.py
@@
-100,7
+100,7
@@
class TextUpdateForm(DocumentRetrieveForm):
value = self.cleaned_data['message']
if value:
value = self.cleaned_data['message']
if value:
- return u"$USER$ " +
request.POST['message']
+ return u"$USER$ " +
value
else:
return u"$AUTO$ XML content update."
else:
return u"$AUTO$ XML content update."