Răsfoiți Sursa

Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.

Keith Edmiston 11 ani în urmă
părinte
comite
028db97503
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      docs/ref/contrib/staticfiles.txt

+ 3 - 1
docs/ref/contrib/staticfiles.txt

@@ -166,7 +166,9 @@ setting is ``False``. By using this you acknowledge the fact that it's
 **grossly inefficient** and probably **insecure**. This is only intended for
 local development, should **never be used in production** and is only
 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::