~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/ref/validators.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _ref-validators:
2
 
 
3
1
==========
4
2
Validators
5
3
==========
6
4
 
7
5
.. versionadded:: 1.2
 
6
.. module:: django.core.validators
 
7
    :synopsis: Validation utilities and base classes
8
8
 
9
9
Writing validators
10
10
==================
40
40
How validators are run
41
41
======================
42
42
 
43
 
See the :ref:`form validation <ref-forms-validation>` for more information on
 
43
See the :doc:`form validation </ref/forms/validation>` for more information on
44
44
how validators are run in forms, and :ref:`Validating objects
45
45
<validating-objects>` for how they're run in models. Note that validators will
46
46
not be run automatically when you save a model, but if you are using a
47
47
``ModelForm``, it will run your validators on any fields that are included in
48
 
your form. See the :ref:`ModelForm documentation <topics-forms-modelforms>`
 
48
your form. See the :doc:`ModelForm documentation </topics/forms/modelforms>`
49
49
for information on how model validation interacts with forms.
50
50
 
51
51
Built-in validators