Skip to content

Commit

Permalink
Corrected ModelFormMixin.form_invalid() signature in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdufresne authored and timgraham committed Aug 28, 2018
1 parent ed4bfac commit 76df4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/class-based-views/mixins-editing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ The following mixins are used to construct Django's editing views:
redirects to
:meth:`~django.views.generic.edit.FormMixin.get_success_url`.

.. method:: form_invalid()
.. method:: form_invalid(form)

Renders a response, providing the invalid form as context.

Expand Down

0 comments on commit 76df4f3

Please sign in to comment.