Commit 1aa8eb29 by benjaoming

Merge branch 'master' of github.com:benjaoming/django-wiki

parents 09f91ea0 4f0ef1aa
...@@ -126,6 +126,7 @@ class EditForm(forms.Form, SpamProtectionMixin): ...@@ -126,6 +126,7 @@ 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