mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #5691 -- Made cache keys independent of USE_L10N.
This mostly reverts af1893c4ff.
This commit is contained in:
committed by
Mariusz Felisiak
parent
e37f809618
commit
258c88a913
@@ -542,8 +542,7 @@ include the name of the active :term:`language<language code>` -- see also
|
||||
:ref:`how-django-discovers-language-preference`). This allows you to easily
|
||||
cache multilingual sites without having to create the cache key yourself.
|
||||
|
||||
Cache keys also include the active :term:`language <language code>` when
|
||||
:setting:`USE_L10N` is set to ``True`` and the :ref:`current time zone
|
||||
Cache keys also include the :ref:`current time zone
|
||||
<default-current-time-zone>` when :setting:`USE_TZ` is set to ``True``.
|
||||
|
||||
__ `Controlling cache: Using other headers`_
|
||||
|
||||
Reference in New Issue
Block a user