Kaydet (Commit) a7e89a5b authored tarafından Jon Dufresne's avatar Jon Dufresne Kaydeden (comit) Tim Graham

[2.1.x] Corrected ModelFormMixin.form_invalid() signature in docs.

Backport of 76df4f35 from master
üst aa527e07
......@@ -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.
......
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