diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/cache.txt | 5 |
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 |
