Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Commit

Permalink
Set WHITENOISE_AUTOREFRESH to True
Browse files Browse the repository at this point in the history
This stops WhiteNoise from complaining about a missing STATIC_ROOT
directory. See evansd/whitenoise#191.
  • Loading branch information
Vraj Mohan committed Feb 12, 2019
1 parent 3375eb8 commit 5aa45ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules_service/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

WHITENOISE_AUTOREFRESH = True

if not DATABASES['default']:
DATABASES['default'] = dj_database_url.parse(
'postgres:///dsnap', conn_max_age=600)

0 comments on commit 5aa45ac

Please sign in to comment.