diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.2.txt | 5 | ||||
| -rw-r--r-- | docs/topics/cache.txt | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index a9e9ff662d..4308d142e8 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -336,6 +336,11 @@ Miscellaneous * Support for ``argon2-cffi`` < 19.1.0 is removed. +* The cache keys no longer includes the language when internationalization is + disabled (``USE_I18N = False``) and localization is enabled + (``USE_L10N = True``). After upgrading to Django 3.2 in such configurations, + the first request to any previously cached value will be a cache miss. + .. _deprecated-features-3.2: Features deprecated in 3.2 diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 330b40dad7..cc9b22ae65 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -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`_ |
