176 SOCIAL_AUTH_COMPLETE_URL_NAME = 'complete' |
176 SOCIAL_AUTH_COMPLETE_URL_NAME = 'complete' |
177 SOCIAL_AUTH_ASSOCIATE_URL_NAME = 'associate_complete' |
177 SOCIAL_AUTH_ASSOCIATE_URL_NAME = 'associate_complete' |
178 |
178 |
179 from config import * |
179 from config import * |
180 |
180 |
181 LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/' |
181 if not "LOGIN_URL" in locals(): |
182 LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/disconnect/' |
182 LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/' |
183 LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform/ldt/' |
183 if not "LOGOUT_URL" in locals(): |
184 LOGOUT_REDIRECT_URL = BASE_URL + 'ldtplatform/accounts/login' |
184 LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/disconnect/' |
185 PROFILE_REDIRECT_URL = BASE_URL + 'ldtplatform/auth_accounts/create/profile' |
185 if not "LOGIN_REDIRECT_URL" in locals(): |
|
186 LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform/ldt/' |
|
187 if not "LOGOUT_REDIRECT_URL" in locals(): |
|
188 LOGOUT_REDIRECT_URL = BASE_URL + 'ldtplatform/accounts/login' |
|
189 if not "PROFILE_REDIRECT_URL" in locals(): |
|
190 PROFILE_REDIRECT_URL = BASE_URL + 'ldtplatform/auth_accounts/create/profile' |
186 |
191 |
187 LOGIN_ERROR_URL = BASE_URL + 'ldtplatform/accounts/login' |
192 if not "LOGIN_ERROR_URL" in locals(): |
|
193 LOGIN_ERROR_URL = BASE_URL + 'ldtplatform/accounts/login' |
188 |
194 |
189 GLOBAL_LOG_LEVEL = LOG_LEVEL |
195 if not "GLOBAL_LOG_LEVEL" in locals(): |
190 GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}] |
196 GLOBAL_LOG_LEVEL = LOG_LEVEL |
|
197 if not "GLOBAL_LOG_HANDLERS" in locals(): |
|
198 GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}] |
191 |
199 |
192 |
|