Commit 634c3c0a by Hynek Cernoch

Revert "Fixed posting data to views.article.Preview"

This reverts commit df27e510 due to broken Preview.
The previous test can pass now.
parent 1bba4ecc
...@@ -119,8 +119,7 @@ class EditForm(forms.Form, SpamProtectionMixin): ...@@ -119,8 +119,7 @@ class EditForm(forms.Form, SpamProtectionMixin):
# is reset to match the actual current revision. # is reset to match the actual current revision.
data = None data = None
if len(args) > 0: if len(args) > 0:
args = list(args) data = args[0]
data = args.pop(0)
if not data: if not data:
data = kwargs.get('data', None) data = kwargs.get('data', None)
if data: if data:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment