X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/39d26aa0f2cb893f19282657b2fddd2a494f2263..ddd5ce2848efb9d43ed14322b1a9fa1494711865:/apps/api/forms.py diff --git a/apps/api/forms.py b/apps/api/forms.py index 2c9ae66a..c5e0b670 100644 --- a/apps/api/forms.py +++ b/apps/api/forms.py @@ -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."