diff --git a/app/tempBerry/settings/base.py b/app/tempBerry/settings/base.py index aca5d3f..df9f7ef 100644 --- a/app/tempBerry/settings/base.py +++ b/app/tempBerry/settings/base.py @@ -94,6 +94,9 @@ WSGI_APPLICATION = 'tempBerry.wsgi.application' +# static files +# ensure whitenoise static file storage is used +STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' # Database # https://docs.djangoproject.com/en/1.11/ref/settings/#databases diff --git a/app/tempBerry/settings/live.py b/app/tempBerry/settings/live.py index 2e5568e..96bf1d1 100644 --- a/app/tempBerry/settings/live.py +++ b/app/tempBerry/settings/live.py @@ -2,6 +2,3 @@ # ensure that debug is false DEBUG = False - -# ensure whitenoise static file storage is used -STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'