diff options
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/fields.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 7b26b29aee..d2a0550a47 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -505,16 +505,20 @@ For each field, we describe the default widget used if you don't specify * '2006-10-25' If no ``input_formats`` argument is provided, the default input formats are - taken from :setting:`DATETIME_INPUT_FORMATS` if :setting:`USE_L10N` is - ``False``, or from the active locale format ``DATETIME_INPUT_FORMATS`` key - if localization is enabled. See also :doc:`format localization - </topics/i18n/formatting>`. + taken from :setting:`DATETIME_INPUT_FORMATS` and + :setting:`DATE_INPUT_FORMATS` if :setting:`USE_L10N` is ``False``, or from + the active locale format ``DATETIME_INPUT_FORMATS`` and + ``DATE_INPUT_FORMATS`` keys if localization is enabled. See also + :doc:`format localization </topics/i18n/formatting>`. .. versionchanged:: 3.1 Support for ISO 8601 date string parsing (including optional timezone) was added. + The fallback on ``DATE_INPUT_FORMATS`` in the default ``input_formats`` + was added. + ``DecimalField`` ---------------- |
