Dodanie MySQL-python do requirements.txt.
[redakcja.git] / apps / api / forms.py
index 2c9ae66..c5e0b67 100644 (file)
@@ -100,7 +100,7 @@ class TextUpdateForm(DocumentRetrieveForm):
         value = self.cleaned_data['message']
 
         if value:
-            return u"$USER$ " + request.POST['message']
+            return u"$USER$ " + value
         else:
             return u"$AUTO$ XML content update."