diff options
Diffstat (limited to 'docs/ref/validators.txt')
-rw-r--r-- | docs/ref/validators.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt index bbba84c7f9..4937512e46 100644 --- a/docs/ref/validators.txt +++ b/docs/ref/validators.txt @@ -1,10 +1,10 @@ -.. _ref-validators: - ========== Validators ========== .. versionadded:: 1.2 +.. module:: django.core.validators + :synopsis: Validation utilities and base classes Writing validators ================== @@ -40,12 +40,12 @@ use the same validator with forms:: How validators are run ====================== -See the :ref:`form validation <ref-forms-validation>` for more information on +See the :doc:`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. 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>` +your form. See the :doc:`ModelForm documentation </topics/forms/modelforms>` for information on how model validation interacts with forms. Built-in validators |