From 8d98f99a4ab5de6f2c730399f53eba8bf6bea470 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 6 Jan 2023 14:46:33 +0100 Subject: Refs #32873 -- Removed settings.USE_L10N per deprecation timeline. --- docs/ref/forms/fields.txt | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'docs/ref/forms') 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 - `. + 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 `. ``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 `. ``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 - `. + 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 `. ``TypedChoiceField`` -------------------- -- cgit v1.3