diff options
| author | jkrzy <j@jkrzy.com> | 2017-08-18 15:02:47 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-08-30 16:40:19 -0400 |
| commit | 20a761697fd28c08ab82dec777b4056a5bfaf6a2 (patch) | |
| tree | 696f82d240b0ecd6e5cfb8850b73c4a3573c717e /docs/ref | |
| parent | da3a5cee4f06ed801c6fb42bd8995428ff0b28bf (diff) | |
Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files.
Diffstat (limited to 'docs/ref')
| -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 2c2db21090..b8cadb5ec8 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -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 |
