mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Changed docs to link to Python's description of iterable.
This commit is contained in:
committed by
Carlton Gibson
parent
ccb7f7c6d2
commit
e86cc14bd3
@@ -154,10 +154,9 @@ ones:
|
||||
<Field.blank>`, the field will be required.
|
||||
|
||||
:attr:`~Field.choices`
|
||||
An iterable (e.g., a list or tuple) of 2-tuples to use as choices for
|
||||
this field. If this is given, the default form widget will be a select box
|
||||
instead of the standard text field and will limit choices to the choices
|
||||
given.
|
||||
An :term:`iterable` of 2-tuples to use as choices for this field. If this
|
||||
is given, the default form widget will be a select box instead of the
|
||||
standard text field and will limit choices to the choices given.
|
||||
|
||||
A choices list looks like this::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user