summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2017-06-03 09:50:14 +0200
committerClaude Paroz <claude@2xlibre.net>2017-06-03 16:17:03 +0200
commit54caca2d34c7cb6807da0a82bcec7b3a679ac104 (patch)
tree657226743dc90864fab0561292ddd060d3d7c67d /docs/ref/forms
parent8e752d84378c7169ef73a483ffffcba55a08c867 (diff)
Refs #28192 -- Fixed documentation of ChoiceField choices requirement
Thanks Tim Graham for noticing the issue.
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/fields.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index e6c8fbc4c3..2472f69f48 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -408,7 +408,7 @@ For each field, we describe the default widget used if you don't specify
The ``invalid_choice`` error message may contain ``%(value)s``, which will be
replaced with the selected choice.
- Takes one extra required argument:
+ Takes one extra argument:
.. attribute:: choices
@@ -418,6 +418,7 @@ For each field, we describe the default widget used if you don't specify
model field. See the :ref:`model field reference documentation on
choices <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 emtpy list.
``TypedChoiceField``
--------------------