Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion r12212 - django/trunk/docs/ref
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nore...@djangoproject.com  
View profile  
 More options Jan 12 2010, 9:58 am
From: nore...@djangoproject.com
Date: Tue, 12 Jan 2010 08:58:35 -0600 (CST)
Local: Tues, Jan 12 2010 9:58 am
Subject: [Changeset] r12212 - django/trunk/docs/ref
Author: jkocherhans
Date: 2010-01-12 08:58:34 -0600 (Tue, 12 Jan 2010)
New Revision: 12212

Modified:
   django/trunk/docs/ref/validators.txt
Log:
Fixed #12525. Added a note to the validators doucmentation that models will not automatically run validators when saved, and a link to the ModelForm docs.

Modified: django/trunk/docs/ref/validators.txt
===================================================================
--- django/trunk/docs/ref/validators.txt        2010-01-12 14:58:24 UTC (rev 12211)
+++ django/trunk/docs/ref/validators.txt        2010-01-12 14:58:34 UTC (rev 12212)
@@ -41,8 +41,12 @@
 ======================

 See the :ref:`form validation <ref-forms-validation>` for more information on
-how validators are run in forms, and :ref:`Validating objects <validating-objects>`
-for how they're run in models.
+how validators are run in forms, and :ref:`Validating objects
+<validating-objects>` for how they're run in models. Note that validators will
+not be run automatically when you save a model, but if you are using a
+``ModelForm``, it will run your validators on any fields that are included in
+your form. See the :ref:`ModelForm documentation <topics-forms-modelforms>`
+for information on how model validation interacts with forms.

 Built-in validators
 ===================


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.