diff options
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/settings.py b/settings.py index b45d0dc5..4135c561 100644 --- a/settings.py +++ b/settings.py @@ -83,16 +83,3 @@ if DATABASE_ENGINE in ('postgresql_psycopg2', 'postgresql', ) and False:#todo - INSTALLED_APPS.append('pgfulltext') else: USE_PG_FTS = False - -#load optional plugin module for external password login -if 'USE_EXTERNAL_LEGACY_LOGIN' in locals() and USE_EXTERNAL_LEGACY_LOGIN: - INSTALLED_APPS.append(EXTERNAL_LEGACY_LOGIN_MODULE) - - if 'EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_BACKEND' in locals(): - AUTHENTICATION_BACKENDS.append(EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_BACKEND) - if 'EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_MIDDLEWARE' in locals(): - MIDDLEWARE_CLASSES.append(EXTERNAL_LEGACY_LOGIN_AUTHENTICATION_MIDDLEWARE) - def LOAD_EXTERNAL_LOGIN_APP(): - return __import__(EXTERNAL_LEGACY_LOGIN_MODULE, [], [], ['api','forms','views']) -else: - LOAD_EXTERNAL_LOGIN_APP = lambda: None |