whitenoise

This commit is contained in:
Ruidy Nemausat 2019-12-03 19:32:46 +01:00
parent b7ad44f93c
commit 13b246a78d

View file

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