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
|
@ -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
|
Loading…
Reference in a new issue