Refs #11390 -- Clarified dual-calling of ChoiceField.choices callable.

This commit is contained in:
Carlton Gibson 2020-09-02 08:29:01 +02:00 committed by GitHub
parent 9d5d865fd6
commit 0bf627f0b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -413,8 +413,8 @@ For each field, we describe the default widget used if you don't specify
accepts the same formats as the ``choices`` argument to a model field. accepts the same formats as the ``choices`` argument to a model field.
See the :ref:`model field reference documentation on choices See the :ref:`model field reference documentation on choices
<field-choices>` for more details. If the argument is a callable, it is <field-choices>` for more details. If the argument is a callable, it is
evaluated each time the field's form is initialized. Defaults to an evaluated each time the field's form is initialized, in addition to
empty list. during rendering. Defaults to an empty list.
``TypedChoiceField`` ``TypedChoiceField``
-------------------- --------------------