[Changeset] r12212 - django/trunk/docs/ref

0 views
Skip to first unread message

nor...@djangoproject.com

unread,
Jan 12, 2010, 9:58:35 AM1/12/10
to django-...@googlegroups.com
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
===================

Reply all
Reply to author
Forward
0 new messages