From: zuber Date: Mon, 19 Oct 2009 14:17:34 +0000 (+0200) Subject: FIX: Nie działało zapisywanie z powodu błędu w formularzu. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/ddd5ce2848efb9d43ed14322b1a9fa1494711865?ds=inline;hp=--cc FIX: Nie działało zapisywanie z powodu błędu w formularzu. --- ddd5ce2848efb9d43ed14322b1a9fa1494711865 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."