1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +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

@@ -147,7 +147,7 @@ can do all of the work.
Note that the order of :setting:`MIDDLEWARE` matters. Generally, you can put
:class:`~django.contrib.flatpages.middleware.FlatpageFallbackMiddleware` at the
end of the list. This means it will run first when processing the response, and
ensures that any other response-processing middlewares see the real flatpage
ensures that any other response-processing middleware see the real flatpage
response rather than the 404.
For more on middleware, read the :doc:`middleware docs