mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
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
This commit is contained in:
parent
a5de16fbe4
commit
1345f3c521
@ -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
|
||||
----------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user