mirror of
https://github.com/django/django.git
synced 2025-03-24 00:00:45 +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:
parent
10b54c8782
commit
046b8c80ce
@ -201,7 +201,9 @@ the directories which were searched::
|
|||||||
|
|
||||||
Overrides the core :djadmin:`runserver` command if the ``staticfiles`` app
|
Overrides the core :djadmin:`runserver` command if the ``staticfiles`` app
|
||||||
is :setting:`installed<INSTALLED_APPS>` and adds automatic serving of static
|
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
|
.. django-admin-option:: --nostatic
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user