Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #4764 -- Added reference to Locale middleware in middleware doc…

…s. Thanks, dan@coffeecode.net.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1345f3c5213e8aac5eb2bd99a22891e450d00465 1 parent a5de16f
@freakboy3742 freakboy3742 authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 docs/middleware.txt
View
8 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
----------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.