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

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