From 379ffbc1da8c97ce4e6e406173023ee3d9d5efce Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Tue, 12 Jan 2010 14:58:34 +0000 Subject: [PATCH] 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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12212 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/validators.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt index fd245f72fb2..1576c8fc1b8 100644 --- a/docs/ref/validators.txt +++ b/docs/ref/validators.txt @@ -41,8 +41,12 @@ How validators are run ====================== See the :ref:`form validation ` for more information on -how validators are run in forms, and :ref:`Validating objects ` -for how they're run in models. +how validators are run in forms, and :ref:`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 ` +for information on how model validation interacts with forms. Built-in validators ===================