Skip to content

Commit

Permalink
Merge pull request #30 from apirobot/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in custom_button.rst
  • Loading branch information
shabda committed Mar 21, 2018
2 parents b663f54 + e5317be commit 9965f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/custom_button.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Then you can override :code:`response_change` and connect your template to the :
obj.save()
self.message_user(request, "This villain is now unique")
return HttpResponseRedirect(".")
super().response_change()
super().response_change(request, obj)

This is how your admin looks now.

Expand Down

0 comments on commit 9965f80

Please sign in to comment.