diff options
author | hrcerqueira <hrcerqueira@gmail.com> | 2010-03-02 19:24:19 +0000 |
---|---|---|
committer | hrcerqueira <hrcerqueira@gmail.com> | 2010-03-02 19:24:19 +0000 |
commit | 1d35d25b8ce9f3004eebd10d88757c5921dd686c (patch) | |
tree | 32aa22f13161719c2452b51b181dd34f42d4ae12 /settings.py | |
parent | 1b52d03f22f9ce224ee8355fe4489c326d19820c (diff) | |
download | askbot-1d35d25b8ce9f3004eebd10d88757c5921dd686c.tar.gz askbot-1d35d25b8ce9f3004eebd10d88757c5921dd686c.tar.bz2 askbot-1d35d25b8ce9f3004eebd10d88757c5921dd686c.zip |
Fixed the new question bug, removed some old stuff from settings files, and fixed the errors introduced by the "staticmethod" decorator removal.
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/settings.py b/settings.py index 9d231b8c..db5d8172 100644 --- a/settings.py +++ b/settings.py @@ -74,24 +74,3 @@ INSTALLED_APPS = [ AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend',] -if USE_SPHINX_SEARCH: - INSTALLED_APPS.append('djangosphinx') - -if DATABASE_ENGINE in ('postgresql_psycopg2', 'postgresql', ) and False:#todo - is this always false? - USE_PG_FTS = True - 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 |