Import local_settings only if it already exists

This commit is contained in:
Trever Fischer
2012-03-02 10:59:45 -05:00
parent faf039a269
commit 5194d95d75

View File

@@ -181,4 +181,7 @@ LOGIN_REDIRECT_URL = '/'
APPVERSION_GIT_REPO = os.path.sep.join((os.path.dirname(__file__), '.git'))
# Load any site-local overrides, such as camin.us' database settings, etc
from local_settings import *
try:
from local_settings import *
except ImportError, e:
pass