diff options
| author | Kaushik Chintam <kaushikam12@gmail.com> | 2021-12-06 07:52:03 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-01-26 12:02:43 +0100 |
| commit | f4de87038ef3adfe8c67ede6c3c5519451abe6cc (patch) | |
| tree | 40eff77563d9f222db1539478847e7bd74fa797d /docs | |
| parent | f82ca84f775f534b32e6ffcef6baa75da6bec47b (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.txt | 4 |
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 |
