Ticket #4764: middleware.diff

File middleware.diff, 849 bytes (added by Simon G. <dev@…>, 17 years ago)
  • django_src/docs/middleware.txt

     
    116116``HTTP_X_FORWARDED_FOR``, that means anybody can "fake" their IP address. Only
    117117use this when you can absolutely trust the value of ``HTTP_X_FORWARDED_FOR``.
    118118
     119django.middleware.locale.LocaleMiddleware
     120-----------------------------------------
     121
     122Enables language selection based on data from the request allowing each user
     123to have a custom language preferences. See the `internationalization documentation`_.
     124
     125.. _`internationalization documentation`: ../i18n/#how-django-discovers-language-preference
     126
    119127django.contrib.sessions.middleware.SessionMiddleware
    120128----------------------------------------------------
    121129
Back to Top