summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-06 23:57:56 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-06 23:57:56 +0000
commitc6fd835137b95b754912c16062f4a1904fb3ab7e (patch)
tree4216710902fecb49c2f3215fab39a7a5e07c87ea /docs
parent371f63c210ffd015cdaddba2dc5463f78051be4e (diff)
Added note about CacheMiddleware to docs/i18n.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/i18n.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/i18n.txt b/docs/i18n.txt
index 5a75480294..ceda2ade83 100644
--- a/docs/i18n.txt
+++ b/docs/i18n.txt
@@ -393,6 +393,7 @@ should follow these guidelines:
* Make sure it's one of the first middlewares installed.
* It should come after ``SessionMiddleware``, because ``LocaleMiddleware``
makes use of session data.
+ * If you use ``CacheMiddleware``, put ``LocaleMiddleware`` after it.
For example, your ``MIDDLEWARE_CLASSES`` might look like this::