Commit 98aaee3f by benjaoming

Issue #32, yes, clearly a typo here. Don't know why it was working, but replaced…

Issue #32, yes, clearly a typo here. Don't know why it was working, but replaced with super(RevisionForm.. and tested.
parent 74359805
......@@ -47,7 +47,7 @@ class RevisionForm(forms.ModelForm):
#revision.save()
self.image.add_revision(self.instance, save=True)
return revision
return super(SidebarForm, self).save(*args, **kwargs)
return super(RevisionForm, self).save(*args, **kwargs)
class Meta:
model = models.ImageRevision
......
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