filebrowser csrf issues fix
[redakcja.git] / apps / wiki / forms.py
index a8a57c8..1d4d854 100644 (file)
@@ -30,7 +30,7 @@ class DocumentTextSaveForm(forms.Form):
 
     """
 
-    parent_revision = forms.IntegerField(widget=forms.HiddenInput)
+    parent_revision = forms.IntegerField(widget=forms.HiddenInput, required=False)
     text = forms.CharField(widget=forms.HiddenInput)
 
     author_name = forms.CharField(