X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bd2f4130a81e68a2bb3c8d88448540ec60fe7be5..dbfc1841d5b6849463d527772781a3ba586fefa0:/apps/api/forms.py?ds=inline 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."