Commit 8332ab64 by benjaoming

pull #139 - form data from args or kwargs

parent 1aa8eb29
...@@ -126,7 +126,6 @@ class EditForm(forms.Form, SpamProtectionMixin): ...@@ -126,7 +126,6 @@ class EditForm(forms.Form, SpamProtectionMixin):
if data: if data:
self.presumed_revision = data.get('current_revision', None) self.presumed_revision = data.get('current_revision', None)
if not str(self.presumed_revision) == str(self.initial_revision.id): if not str(self.presumed_revision) == str(self.initial_revision.id):
print "IT"
newdata = {} newdata = {}
for k,v in data.items(): for k,v in data.items():
newdata[k] = v newdata[k] = v
......
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