Added note about CacheMiddleware to docs/i18n.txt.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-11-06 23:57:56 +00:00
parent 371f63c210
commit c6fd835137
1 changed files with 1 additions and 0 deletions

View File

@ -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::