Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

For completeness, add STORAGES key to settings_global.py

Roland Geidere950f3b5720a
diff --git a/settings/settings_global.py b/settings/settings_global.py
index 91527550e..f0afed0e0 100644
--- a/settings/settings_global.py
+++ b/settings/settings_global.py
@@ -531,3 +531,16 @@ TESTING = len(sys.argv) > 1 and sys.argv[1] == 'test'
RECAPTCHA_PUBLIC_KEY = ''
RECAPTCHA_PRIVATE_KEY = ''
RECAPTCHA_REQUIRED_SCORE = 0
+
+#
+# Storage options
+#
+STORAGES = {
+ 'default': {
+ 'BACKEND': 'django.core.files.storage.FileSystemStorage'
+ },
+ 'staticfiles': {
+ # django.contrib.staticfiles.storage.StaticFilesStorage
+ 'BACKEND': 'wger.core.storage.LenientManifestStaticFilesStorage',
+ },
+}