summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorJkrzy <cakheil@gmail.com>2017-08-30 06:25:51 -0400
committerTim Graham <timograham@gmail.com>2017-08-30 06:26:04 -0400
commit10b54c8782e41efbad805e1f982ca2116c78191a (patch)
treeb2ea39eceb6677fda09d3c501fb6bc4ec3f11ec2 /docs/ref
parent3bb03df0fc642c48ff70cdd74572c31f135f9c08 (diff)
[1.11.x] Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs.
Backport of da3a5cee4f06ed801c6fb42bd8995428ff0b28bf from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/flatpages.txt2
-rw-r--r--docs/ref/request-response.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt
index 33d408a2b8..0b66cbf359 100644
--- a/docs/ref/contrib/flatpages.txt
+++ b/docs/ref/contrib/flatpages.txt
@@ -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
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 9f41243c6f..8e9f0fcf02 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -1039,7 +1039,7 @@ with the following notable differences:
:class:`StreamingHttpResponse` should only be used in situations where it is
absolutely required that the whole content isn't iterated before transferring
the data to the client. Because the content can't be accessed, many
-middlewares can't function normally. For example the ``ETag`` and
+middleware can't function normally. For example the ``ETag`` and
``Content-Length`` headers can't be generated for streaming responses.
Attributes