Browse Source

Fixed #33048 -- Doc'd that DEBUG static files requests don't use middleware chain.

Kaushik Chintam 3 years ago
parent
commit
1625a8c8eb
1 changed files with 4 additions and 0 deletions
  1. 4 0
      docs/howto/static-files/index.txt

+ 4 - 0
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