Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #14307 -- Added a new crossref target to model field reference …

…docs and fixed broken relative link in form field reference docs. Thanks to adamv for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d81b3aa commit 6c902c436ee3e29babe9031e55f95652f98de66c Gabriel Hurley committed
Showing with 4 additions and 4 deletions.
  1. +2 −4 docs/ref/forms/fields.txt
  2. +2 −0  docs/ref/models/fields.txt
6 docs/ref/forms/fields.txt
@@ -353,10 +353,8 @@ Takes one extra required argument:
An iterable (e.g., a list or tuple) of 2-tuples to use as choices for this
field. This argument accepts the same formats as the ``choices`` argument
- to a model field. See the `model field reference documentation on choices`_
- for more details.
- .. _model field reference documentation on choices: ../models/fields#choices
+ to a model field. See the :ref:`model field reference documentation on
+ choices <field-choices>` for more details.
2  docs/ref/models/fields.txt
@@ -69,6 +69,8 @@ purely database-related, whereas :attr:`~Field.blank` is validation-related. If
a field has ``blank=True``, validation on Django's admin site will allow entry
of an empty value. If a field has ``blank=False``, the field will be required.
+.. _field-choices:

0 comments on commit 6c902c4

Please sign in to comment.
Something went wrong with that request. Please try again.