fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie MySQL-python do requirements.txt.
[redakcja.git]
/
apps
/
api
/
forms.py
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."