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
1 changed files with 3 additions and 1 deletions

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