1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: WHITENOISE_USE_FINDERS can only be enabled
in development when WHITENOISE_AUTOREFRESH is also enabled.
Author: Michal Arbet <michal.arbet@ultimum.io>
Forwarded: not-needed
Last-Update: 2020-04-06
diff --git a/ara/server/settings.py b/ara/server/settings.py
index f773462..1341022 100644
--- a/ara/server/settings.py
+++ b/ara/server/settings.py
@@ -199,7 +199,7 @@ USE_I18N = False
USE_L10N = False
# whitenoise serves static files without needing to use "collectstatic"
-WHITENOISE_USE_FINDERS = True
+WHITENOISE_USE_FINDERS = False
# https://github.com/evansd/whitenoise/issues/215
# Whitenoise raises a warning if STATIC_ROOT doesn't exist
warnings.filterwarnings("ignore", message="No directory at", module="whitenoise.base")
|