Changeset - 7c5ca8d3993c
[Not reviewed]
0 1 0
Scott Bragg - 8 years ago 2016-06-29 13:22:46
jsbragg@scriptforge.org
settings.py allows local_settings.py to extend settings (used for Raven/Sentry config)
1 file changed with 6 insertions and 3 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -264,6 +264,9 @@ NOSE_ARGS = [
 

	
 
# Production settings have their own file to override stuff here
 
try:
 
    from local_settings import *
 
except ImportError:
 
    pass
 
    LOCAL_SETTINGS
 
except NameError:
 
    try:
 
        from local_settings import *
 
    except ImportError:
 
        pass
...
 
\ No newline at end of file
0 comments (0 inline, 0 general)