whitenoise

This commit is contained in:
Ruidy Nemausat 2019-12-03 19:47:58 +01:00
parent 78390d8b8a
commit 9450771066

View file

@ -38,7 +38,7 @@ MIDDLEWARE = [
] ]
if os.environ.get('ENV') == 'PRODUCTION': if os.environ.get('ENV') == 'PRODUCTION':
STATICFILES_STORAGE = 'villafleurie.storage.WhiteNoiseStaticFilesStorage' STATICFILES_STORAGE = 'storage.WhiteNoiseStaticFilesStorage'
# STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' # STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
# STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' # STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'