mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Corrected ModelFormMixin.form_invalid() signature in docs.
This commit is contained in:
parent
ed4bfacb3c
commit
76df4f35c2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue