Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs.

This commit is contained in:
Jkrzy 2017-08-30 06:25:51 -04:00 committed by Tim Graham
parent 9e2bf65d6a
commit da3a5cee4f
4 changed files with 3 additions and 4 deletions

View file

@ -1944,7 +1944,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