Ticket #4764: middleware.diff
File middleware.diff, 849 bytes (added by , 17 years ago) |
---|
-
django_src/docs/middleware.txt
116 116 ``HTTP_X_FORWARDED_FOR``, that means anybody can "fake" their IP address. Only 117 117 use this when you can absolutely trust the value of ``HTTP_X_FORWARDED_FOR``. 118 118 119 django.middleware.locale.LocaleMiddleware 120 ----------------------------------------- 121 122 Enables language selection based on data from the request allowing each user 123 to have a custom language preferences. See the `internationalization documentation`_. 124 125 .. _`internationalization documentation`: ../i18n/#how-django-discovers-language-preference 126 119 127 django.contrib.sessions.middleware.SessionMiddleware 120 128 ---------------------------------------------------- 121 129