summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2007-07-12 13:41:27 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2007-07-12 13:41:27 +0000
commit1345f3c5213e8aac5eb2bd99a22891e450d00465 (patch)
treeb7bb49ad0313e6e7029d8615e8dadaaf634b74d4 /docs
parenta5de16fbe4adbdf960683cbdebea4d4e9db2983d (diff)
Fixed #4764 -- Added reference to Locale middleware in middleware docs. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/middleware.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/middleware.txt b/docs/middleware.txt
index 0d533443d3..533f1ccede 100644
--- a/docs/middleware.txt
+++ b/docs/middleware.txt
@@ -116,6 +116,14 @@ not use this middleware. Anybody can spoof the value of
``HTTP_X_FORWARDED_FOR``, that means anybody can "fake" their IP address. Only
use this when you can absolutely trust the value of ``HTTP_X_FORWARDED_FOR``.
+django.middleware.locale.LocaleMiddleware
+-----------------------------------------
+
+Enables language selection based on data from the request. It customizes content
+for each user. See the `internationalization documentation`_.
+
+.. _`internationalization documentation`: ../i18n/
+
django.contrib.sessions.middleware.SessionMiddleware
----------------------------------------------------