Skip to content

Commit

Permalink
Make sure whitenoise is used for all stage/environments
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianKreuzberger committed Apr 5, 2020
1 parent 25c9a51 commit fcced92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions app/tempBerry/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions app/tempBerry/settings/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@

# ensure that debug is false
DEBUG = False

# ensure whitenoise static file storage is used
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'

0 comments on commit fcced92

Please sign in to comment.