summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKaushik Chintam <kaushikam12@gmail.com>2021-12-06 07:52:03 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-26 12:02:43 +0100
commitf4de87038ef3adfe8c67ede6c3c5519451abe6cc (patch)
tree40eff77563d9f222db1539478847e7bd74fa797d /docs
parentf82ca84f775f534b32e6ffcef6baa75da6bec47b (diff)
[4.0.x] Fixed #33048 -- Doc'd that DEBUG static files requests don't use middleware chain.
Backport of 1625a8c8eba0b00ebdd1d7a8ba697b2729ec40ed from main
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/static-files/index.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/howto/static-files/index.txt b/docs/howto/static-files/index.txt
index a60f7f5c0e..e158e78bca 100644
--- a/docs/howto/static-files/index.txt
+++ b/docs/howto/static-files/index.txt
@@ -108,6 +108,10 @@ do this by adding the following snippet to your urls.py::
folder; it doesn't perform static files discovery like
:mod:`django.contrib.staticfiles`.
+ Finally, static files are served via a wrapper at the WSGI application
+ layer. As a consequence, static files requests do not pass through the
+ normal :doc:`middleware chain </topics/http/middleware>`.
+
.. _serving-uploaded-files-in-development:
Serving files uploaded by a user during development