settings.py allows local_settings.py to extend settings (used for Raven/Sentry config)
This commit is contained in:
parent
2cdb554623
commit
7c5ca8d399
1 changed files with 6 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue