Use ManifestStaticFilesStorage by default

This commit is contained in:
Raphael Michel
2016-09-08 15:20:17 +02:00
parent 6e829ff30a
commit 0c2e477ec8

View File

@@ -297,6 +297,8 @@ STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')
] if os.path.exists(os.path.join(BASE_DIR, 'static')) else []
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
# if os.path.exists(os.path.join(DATA_DIR, 'static')):
# STATICFILES_DIRS.insert(0, os.path.join(DATA_DIR, 'static'))