Author: russellm
Date: 2010-05-09 00:49:14 -0500 (Sun, 09 May 2010)
New Revision: 13163

Modified:
   django/trunk/docs/ref/forms/validation.txt
Log:
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.

Modified: django/trunk/docs/ref/forms/validation.txt
===================================================================
--- django/trunk/docs/ref/forms/validation.txt  2010-05-09 05:48:45 UTC (rev 
13162)
+++ django/trunk/docs/ref/forms/validation.txt  2010-05-09 05:49:14 UTC (rev 
13163)
@@ -92,6 +92,11 @@
       errors to a specific field in the form, you will need to access the
       ``_errors`` attribute on the form, which is `described later`_.
 
+      Also note that there are special considerations when overriding
+      the ``clean()`` method of a ``ModelForm`` subclass. (see the
+      :ref:`ModelForm documentation
+      <overriding-modelform-clean-method>` for more information)
+
 These methods are run in the order given above, one field at a time.  That is,
 for each field in the form (in the order they are declared in the form
 definition), the ``Field.clean()`` method (or its override) is run, then

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to