[2.1.x] Corrected ModelFormMixin.form_invalid() signature in docs.
Backport of 76df4f35c2d732f7996aa6b8d816424c52ee0cc1 from master
This commit is contained in:
parent
aa527e074f
commit
a7e89a5ba7
@ -173,7 +173,7 @@ The following mixins are used to construct Django's editing views:
|
|||||||
redirects to
|
redirects to
|
||||||
:meth:`~django.views.generic.edit.FormMixin.get_success_url`.
|
: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.
|
Renders a response, providing the invalid form as context.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user