1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

This commit is contained in:
Kaushik Chintam 2021-12-06 07:52:03 +05:30 committed by Mariusz Felisiak
parent 85f2a9fb0f
commit 1625a8c8eb

View File

@ -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