mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Made the cache locale-dependant when USE_L10N is True, even if USE_I18N is False. Refs #5691.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
01964fd7e4
commit
af1893c4ff
3 changed files with 20 additions and 6 deletions
|
@ -498,6 +498,10 @@ 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.
|
||||
|
||||
.. versionchanged:: 1.4
|
||||
|
||||
This also happens when :setting:`USE_L10N` is set to ``True``.
|
||||
|
||||
__ `Controlling cache: Using other headers`_
|
||||
|
||||
The per-view cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue