summaryrefslogtreecommitdiff
path: root/docs/forms.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-04-06 04:39:24 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-04-06 04:39:24 +0000
commit94aeccf18eca83ce8c983695059d56f66127a0fd (patch)
tree42aae866c510e6cabc658acb445f1e41f9dbe82c /docs/forms.txt
parente2b49c379a56730b73d79ec05d6edc790ba08cc9 (diff)
newforms-admin: Merged to [4939]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@4940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/forms.txt')
-rw-r--r--docs/forms.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/forms.txt b/docs/forms.txt
index f76f6d27ef..ce1010235f 100644
--- a/docs/forms.txt
+++ b/docs/forms.txt
@@ -517,10 +517,10 @@ to put punctuation at the end of your validation messages.
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.