diff options
Diffstat (limited to 'docs/ref/forms/fields.txt')
| -rw-r--r-- | docs/ref/forms/fields.txt | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 2aba907e03..3c61a14711 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -438,10 +438,9 @@ For each field, we describe the default widget used if you don't specify ``datetime.date`` object. If no ``input_formats`` argument is provided, the default input formats are - taken from :setting:`DATE_INPUT_FORMATS` if :setting:`USE_L10N` is - ``False``, or from the active locale format ``DATE_INPUT_FORMATS`` key if - localization is enabled. See also :doc:`format localization - </topics/i18n/formatting>`. + taken from the active locale format ``DATE_INPUT_FORMATS`` key, or from + :setting:`DATE_INPUT_FORMATS` if localization is disabled. See also + :doc:`format localization </topics/i18n/formatting>`. ``DateTimeField`` ----------------- @@ -475,10 +474,9 @@ 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` 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 + taken from the active locale format ``DATETIME_INPUT_FORMATS`` and + ``DATE_INPUT_FORMATS`` keys, or from :setting:`DATETIME_INPUT_FORMATS` and + :setting:`DATE_INPUT_FORMATS` if localization is disabled. See also :doc:`format localization </topics/i18n/formatting>`. ``DecimalField`` @@ -960,10 +958,9 @@ For each field, we describe the default widget used if you don't specify ``datetime.time`` object. If no ``input_formats`` argument is provided, the default input formats are - taken from :setting:`TIME_INPUT_FORMATS` if :setting:`USE_L10N` is - ``False``, or from the active locale format ``TIME_INPUT_FORMATS`` key if - localization is enabled. See also :doc:`format localization - </topics/i18n/formatting>`. + taken from the active locale format ``TIME_INPUT_FORMATS`` key, or from + :setting:`TIME_INPUT_FORMATS` if localization is disabled. See also + :doc:`format localization </topics/i18n/formatting>`. ``TypedChoiceField`` -------------------- |
