mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.5.x] Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.
Backport of 028db97503 from master
This commit is contained in:
parent
5d029f2222
commit
afc624cab0
@ -258,7 +258,9 @@ setting is ``False``. By using this you acknowledge the fact that it's
|
|||||||
**grossly inefficient** and probably **insecure**. This is only intended for
|
**grossly inefficient** and probably **insecure**. This is only intended for
|
||||||
local development, should **never be used in production** and is only
|
local development, should **never be used in production** and is only
|
||||||
available if the :doc:`staticfiles </ref/contrib/staticfiles>` app is
|
available if the :doc:`staticfiles </ref/contrib/staticfiles>` app is
|
||||||
in your project's :setting:`INSTALLED_APPS` setting.
|
in your project's :setting:`INSTALLED_APPS` setting. :djadmin:`runserver`
|
||||||
|
``--insecure`` doesn't work with
|
||||||
|
:class:`~django.contrib.staticfiles.storage.CachedStaticFilesStorage`.
|
||||||
|
|
||||||
Example usage::
|
Example usage::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user