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