Author: russellm
Date: 2007-03-31 20:25:01 -0500 (Sat, 31 Mar 2007)
New Revision: 4886

Modified:
   django/trunk/docs/forms.txt
Log:
Fixed #2841 -- Clarified documentation on procedure for field validation. 
Thanks, [EMAIL PROTECTED]


Modified: django/trunk/docs/forms.txt
===================================================================
--- django/trunk/docs/forms.txt 2007-04-01 01:09:21 UTC (rev 4885)
+++ django/trunk/docs/forms.txt 2007-04-01 01:25:01 UTC (rev 4886)
@@ -517,10 +517,10 @@
 When are validators called?
 ---------------------------
 
-After a form has been submitted, Django first checks to see that all the
-required fields are present and non-empty. For each field that passes that
-test *and if the form submission contained data* for that field, all the
-validators for that field are called in turn. The emphasized portion in the
+After a form has been submitted, Django validates each field in turn. First, 
+if the field is required, Django checks that it is present and non-empty. Then,
+if that test passes *and the form submission contained data* for that field, 
all
+the validators for that field are called in turn. The emphasized portion in the
 last sentence is important: if a form field is not submitted (because it
 contains no data -- which is normal HTML behavior), the validators are not
 run against the field.


--~--~---------~--~----~------------~-------~--~----~
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