X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bd2f4130a81e68a2bb3c8d88448540ec60fe7be5..a916b4d2655ae35f58120ec601b71af8d8e63ea0:/apps/api/forms.py?ds=sidebyside diff --git a/apps/api/forms.py b/apps/api/forms.py index 7532e179..22cadb9e 100644 --- a/apps/api/forms.py +++ b/apps/api/forms.py @@ -120,7 +120,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."