summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-03-01 10:19:01 +0000
committerJannis Leidel <jannis@leidel.info>2010-03-01 10:19:01 +0000
commit284e7e3cbdc1b0efb46f35485194d6a5f9b201dc (patch)
tree438d2b7a522a661adef70c81d9c25582cb7456ac /docs
parent68dd63b984b824407f59280515fc94d853ec3b7c (diff)
Refined changes made in r12546 to also respect the request.LANGUAGE_CODE in case the LocaleMiddleware is used to discover the language preference.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/cache.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index dc450ae1fc..6c8f1346bb 100644
--- a/docs/topics/cache.txt
+++ b/docs/topics/cache.txt
@@ -323,10 +323,13 @@ more on these decorators.
.. versionadded:: 1.2
If :setting:`USE_I18N` is set to ``True`` then the generated cache key will
-include the name of the currently active :term:`language<language code>`.
+include the name of the active :term:`language<language code>`.
This allows you to easily cache multilingual sites without having to create
the cache key yourself.
+See :ref:`topics-i18n-deployment` for more on how Django discovers the active
+language.
+
__ `Controlling cache: Using other headers`_
The per-view cache