Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #15657 -- added the required `form` parameter to the method sig…

…natures of `form_valid` and `form_invalid` in the `FormMixin` docs. Thanks to jnns for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 66594beae7785bb811436b4f9a1277197a74c7c2 1 parent a4ef094
Gabriel Hurley authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/class-based-views.txt
4 docs/ref/class-based-views.txt
@@ -442,11 +442,11 @@ FormMixin
Determine the URL to redirect to when the form is successfully
validated. Returns :attr:`.success_url` by default.
- .. method:: form_valid()
+ .. method:: form_valid(form)
Redirects to :meth:`.get_success_url`.
- .. method:: form_invalid()
+ .. method:: form_invalid(form)
Renders a response, providing the invalid form as context.

0 comments on commit 66594be

Please sign in to comment.
Something went wrong with that request. Please try again.