Anonymous committed 2886684

Fixed #15657 -- added the required `form` parameter to the method signatures of `form_valid` and `form_invalid` in the `FormMixin` docs. Thanks to jnns for the report.

Comments (0)

Files changed (1)


         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.