settings.py allows local_settings.py to extend settings (used for Raven/Sentry config)

This commit is contained in:
Scott Bragg 2016-06-29 23:22:46 +10:00
parent 2cdb554623
commit 7c5ca8d399

View file

@ -263,6 +263,9 @@ NOSE_ARGS = [
] ]
# Production settings have their own file to override stuff here # Production settings have their own file to override stuff here
try:
LOCAL_SETTINGS
except NameError:
try: try:
from local_settings import * from local_settings import *
except ImportError: except ImportError: