From c6fd835137b95b754912c16062f4a1904fb3ab7e Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 6 Nov 2005 23:57:56 +0000 Subject: [PATCH] Added note about CacheMiddleware to docs/i18n.txt. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1117 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/i18n.txt | 1 + 1 file changed, 1 insertion(+) 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::