mirror of
https://github.com/django/django.git
synced 2025-05-15 19:36:30 +00:00
Added reference to TypedChoiceField in ChoiceField docs.
This commit is contained in:
parent
f474ba4cb5
commit
c646412a75
@ -449,6 +449,12 @@ For each field, we describe the default widget used if you don't specify
|
|||||||
time the field's form is initialized, in addition to during rendering.
|
time the field's form is initialized, in addition to during rendering.
|
||||||
Defaults to an empty list.
|
Defaults to an empty list.
|
||||||
|
|
||||||
|
.. admonition:: Choice type
|
||||||
|
|
||||||
|
This field normalizes choices to strings, so if choices are required in
|
||||||
|
other data types, such as integers or booleans, consider using
|
||||||
|
:class:`TypedChoiceField` instead.
|
||||||
|
|
||||||
``DateField``
|
``DateField``
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user