Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12643 -- Added link to the ModelForm documentation clarifying …

…the special requirements of a clean() method on a modelform. Thanks to fgaudin for the report, and ptone for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5a74f0c936b2b1ff3764ad7a3f9019e0d8e9a4eb 1 parent 55d65d3
Russell Keith-Magee authored May 09, 2010

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  docs/ref/forms/validation.txt
5  docs/ref/forms/validation.txt
@@ -92,6 +92,11 @@ overridden:
92 92
       errors to a specific field in the form, you will need to access the
93 93
       ``_errors`` attribute on the form, which is `described later`_.
94 94
 
  95
+      Also note that there are special considerations when overriding
  96
+      the ``clean()`` method of a ``ModelForm`` subclass. (see the
  97
+      :ref:`ModelForm documentation
  98
+      <overriding-modelform-clean-method>` for more information)
  99
+
95 100
 These methods are run in the order given above, one field at a time.  That is,
96 101
 for each field in the form (in the order they are declared in the form
97 102
 definition), the ``Field.clean()`` method (or its override) is run, then

0 notes on commit 5a74f0c

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