1
0
mirror of https://github.com/django/django.git synced 2025-01-23 08:39:17 +00:00

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

This commit is contained in:
jkrzy 2017-08-18 15:02:47 -07:00 committed by Tim Graham
parent da3a5cee4f
commit 20a761697f

View File

@ -199,7 +199,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