1
0
mirror of https://github.com/django/django.git synced 2025-03-15 20:00:46 +00:00

[1.11.x] Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files.

Backport of 20a761697fd28c08ab82dec777b4056a5bfaf6a2 from master
This commit is contained in:
jkrzy 2017-08-18 15:02:47 -07:00 committed by Tim Graham
parent 10b54c8782
commit 046b8c80ce

View File

@ -201,7 +201,9 @@ the directories which were searched::
Overrides the core :djadmin:`runserver` command if the ``staticfiles`` app
is :setting:`installed<INSTALLED_APPS>` and adds automatic serving of static
files and the following new options.
files. File serving doesn't run through :setting:`MIDDLEWARE`.
The command adds these options:
.. django-admin-option:: --nostatic