Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zeus committed Jan 11, 2012
1 parent 89b06cf commit 3092b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybb/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def form_valid(self, form):
aformset.save()
return super(ModelFormMixin, self).form_valid(form)
else:
return self.render_to_response(self.get_context_data(form=form, aforormset=aformset))
return self.render_to_response(self.get_context_data(form=form, aformset=aformset))
return super(AddPostView, self).form_valid(form)

@method_decorator(csrf_protect)
Expand Down

0 comments on commit 3092b42

Please sign in to comment.