Fixed #14141: docs now use the :doc: construct for links between documents.

Thanks, Ramiro Morales.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2010-08-19 19:27:44 +00:00
parent a352154e42
commit 728effcfbd
181 changed files with 1222 additions and 1525 deletions

View file

@ -1,5 +1,3 @@
.. _ref-forms-api:
=============
The Forms API
=============
@ -11,7 +9,7 @@ The Forms API
.. admonition:: About this document
This document covers the gritty details of Django's forms API. You should
read the :ref:`introduction to working with forms <topics-forms-index>`
read the :doc:`introduction to working with forms </topics/forms/index>`
first.
.. _ref-forms-api-bound-unbound:
@ -262,7 +260,7 @@ for each field in the "Built-in ``Field`` classes" section below.
You can write code to perform validation for particular form fields (based on
their name) or for the form as a whole (considering combinations of various
fields). More information about this is in :ref:`ref-forms-validation`.
fields). More information about this is in :doc:`/ref/forms/validation`.
Outputting forms as HTML
------------------------

View file

@ -1,5 +1,3 @@
.. _ref-forms-fields:
===========
Form fields
===========
@ -192,7 +190,7 @@ The callable will be evaluated only when the unbound form is displayed, not when
.. attribute:: Field.widget
The ``widget`` argument lets you specify a ``Widget`` class to use when
rendering this ``Field``. See :ref:`ref-forms-widgets` for more information.
rendering this ``Field``. See :doc:`/ref/forms/widgets` for more information.
``help_text``
~~~~~~~~~~~~~
@ -267,7 +265,7 @@ error message keys it uses.
The ``validators`` argument lets you provide a list of validation functions
for this field.
See the :ref:`validators documentation <ref-validators>` for more information.
See the :doc:`validators documentation </ref/validators>` for more information.
``localize``
~~~~~~~~~~~~
@ -516,8 +514,8 @@ given length.
* Validates that non-empty file data has been bound to the form.
* Error message keys: ``required``, ``invalid``, ``missing``, ``empty``
To learn more about the ``UploadedFile`` object, see the :ref:`file uploads
documentation <topics-http-file-uploads>`.
To learn more about the ``UploadedFile`` object, see the :doc:`file uploads
documentation </topics/http/file-uploads>`.
When you use a ``FileField`` in a form, you must also remember to
:ref:`bind the file data to the form <binding-uploaded-files>`.

View file

@ -1,10 +1,8 @@
.. _ref-forms-index:
=====
Forms
=====
Detailed form API reference. For introductory material, see :ref:`topics-forms-index`.
Detailed form API reference. For introductory material, see :doc:`/topics/forms/index`.
.. toctree::
:maxdepth: 1

View file

@ -1,5 +1,3 @@
.. _ref-forms-validation:
Form and field validation
=========================

View file

@ -1,5 +1,3 @@
.. _ref-forms-widgets:
=======
Widgets
=======