From: Aleksander Ɓukasz Date: Wed, 2 Apr 2014 10:42:01 +0000 (+0200) Subject: Make comments for save and revert operations optional X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/83fe2a8e363f2b9f3ece27227b8194bafadfe47f Make comments for save and revert operations optional --- diff --git a/apps/wiki/forms.py b/apps/wiki/forms.py index 3ef3ed14..137b072f 100644 --- a/apps/wiki/forms.py +++ b/apps/wiki/forms.py @@ -46,7 +46,7 @@ class DocumentTextSaveForm(forms.Form): ) comment = forms.CharField( - required=True, + required=False, widget=forms.Textarea, label=_(u"Your comments"), help_text=_(u"Describe changes you made."), @@ -97,7 +97,7 @@ class DocumentTextRevertForm(forms.Form): ) comment = forms.CharField( - required=True, + required=False, widget=forms.Textarea, label=_(u"Your comments"), help_text=_(u"Describe the reason for reverting."),