Skip to content

Commit

Permalink
Fixed copy and paste failure in the forms tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm2m committed Jun 30, 2015
1 parent d2cb3f4 commit 5dfd19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/05-forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ method to our view:
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
kwargs['entry'] = self.entry
kwargs['entry'] = self.get_object()
return kwargs
def get_context_data(self, **kwargs):
Expand Down

0 comments on commit 5dfd19e

Please sign in to comment.