Load a local settings file for dev/test environments

1
2
3
4
try:
    from settings_local import *
except ImportError:
    print u'File settings_local.py is not found. Continuing with production settings.'

Comments

(Forgotten your password?)

You may use Markdown syntax here, but raw HTML will be removed.