1
0
mirror of https://github.com/django/django.git synced 2025-10-31 01:25:32 +00:00

[1.11.x] Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs.

Backport of da3a5cee4f from master
This commit is contained in:
Jkrzy
2017-08-30 06:25:51 -04:00
committed by Tim Graham
parent 3bb03df0fc
commit 10b54c8782
4 changed files with 3 additions and 4 deletions

View File

@@ -2117,7 +2117,7 @@ To use ``LocaleMiddleware``, add ``'django.middleware.locale.LocaleMiddleware'``
to your :setting:`MIDDLEWARE` setting. Because middleware order matters, follow
these guidelines:
* Make sure it's one of the first middlewares installed.
* Make sure it's one of the first middleware installed.
* It should come after ``SessionMiddleware``, because ``LocaleMiddleware``
makes use of session data. And it should come before ``CommonMiddleware``
because ``CommonMiddleware`` needs an activated language in order