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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user