summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2010-01-05 06:18:41 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2010-01-05 06:18:41 +0000
commitcd7da17132d0321473be97bca0a2a91008038919 (patch)
treede5cb27e391d6db351332b1dbf2f04c28ea5f3b8 /docs/ref/models
parent1e81e2f5321d15a6689babe7f27f94bcee6aa4ac (diff)
Added a section to the docs for discussing validators and updated a few links to point to it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/fields.txt2
-rw-r--r--docs/ref/models/instances.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 8612b742ef..3ccf09b58f 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -303,7 +303,7 @@ underscores to spaces. See :ref:`Verbose field names <verbose-field-names>`.
.. attribute:: Field.validators
A list of validators to run for this field.See the :ref:`validators
-documentation <validators>` for more information.
+documentation <ref-validators>` for more information.
Field types
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 43f18338a1..b3721d6f62 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -27,6 +27,8 @@ The keyword arguments are simply the names of the fields you've defined on your
model. Note that instantiating a model in no way touches your database; for
that, you need to ``save()``.
+.. _validating-objects:
+
Validating objects
==================