--- a/web/ldtplatform/settings.py Fri Apr 29 11:01:46 2011 +0200
+++ b/web/ldtplatform/settings.py Sun May 01 03:01:43 2011 +0200
@@ -178,15 +178,22 @@
from config import *
-LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/'
-LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/disconnect/'
-LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform/ldt/'
-LOGOUT_REDIRECT_URL = BASE_URL + 'ldtplatform/accounts/login'
-PROFILE_REDIRECT_URL = BASE_URL + 'ldtplatform/auth_accounts/create/profile'
+if not "LOGIN_URL" in locals():
+ LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/'
+if not "LOGOUT_URL" in locals():
+ LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/disconnect/'
+if not "LOGIN_REDIRECT_URL" in locals():
+ LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform/ldt/'
+if not "LOGOUT_REDIRECT_URL" in locals():
+ LOGOUT_REDIRECT_URL = BASE_URL + 'ldtplatform/accounts/login'
+if not "PROFILE_REDIRECT_URL" in locals():
+ PROFILE_REDIRECT_URL = BASE_URL + 'ldtplatform/auth_accounts/create/profile'
-LOGIN_ERROR_URL = BASE_URL + 'ldtplatform/accounts/login'
+if not "LOGIN_ERROR_URL" in locals():
+ LOGIN_ERROR_URL = BASE_URL + 'ldtplatform/accounts/login'
-GLOBAL_LOG_LEVEL = LOG_LEVEL
-GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}]
+if not "GLOBAL_LOG_LEVEL" in locals():
+ GLOBAL_LOG_LEVEL = LOG_LEVEL
+if not "GLOBAL_LOG_HANDLERS" in locals():
+ GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}]
-