mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #32873 -- Deprecated settings.USE_L10N.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
04e023e383
commit
676bd084f2
@@ -936,7 +936,7 @@ Date format helper functions
|
||||
``django.utils.translation.get_date_formats()`` and
|
||||
``django.utils.translation.get_partial_date_formats()`` have been deprecated
|
||||
in favor of the appropriate calls to ``django.utils.formats.get_format()``,
|
||||
which is locale-aware when :setting:`USE_L10N` is set to ``True``, and falls
|
||||
which is locale-aware when ``USE_L10N`` is set to ``True``, and falls
|
||||
back to default settings if set to ``False``.
|
||||
|
||||
To get the different date formats, instead of writing this::
|
||||
|
||||
Reference in New Issue
Block a user