mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
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
This commit is contained in:
parent
1e81e2f532
commit
cd7da17132
5 changed files with 150 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
==================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue