diff options
| author | jkrzy <j@jkrzy.com> | 2017-08-18 15:02:47 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-08-30 21:31:09 -0400 |
| commit | 046b8c80ce76ed1d410910aa92f67c405b8a15ba (patch) | |
| tree | eae7eaa50618e446b924832b634307cfe4f63b15 /docs | |
| parent | 10b54c8782e41efbad805e1f982ca2116c78191a (diff) | |
[1.11.x] Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files.
Backport of 20a761697fd28c08ab82dec777b4056a5bfaf6a2 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/staticfiles.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index b8d91fddb8..74f8a127fb 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -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 |
