summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Hurley <gabehr@gmail.com>2011-03-22 22:01:27 +0000
committerGabriel Hurley <gabehr@gmail.com>2011-03-22 22:01:27 +0000
commit66594beae7785bb811436b4f9a1277197a74c7c2 (patch)
tree110348986932086cae0d34ec52104adc3269ba4a /docs
parenta4ef094b0f014c5f0aef9fd9ef33e695e583337a (diff)
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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/class-based-views.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/class-based-views.txt b/docs/ref/class-based-views.txt
index 09ad0d3cec..21bb58c9b6 100644
--- a/docs/ref/class-based-views.txt
+++ b/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.