From 1d35d25b8ce9f3004eebd10d88757c5921dd686c Mon Sep 17 00:00:00 2001 From: hrcerqueira Date: Tue, 2 Mar 2010 19:24:19 +0000 Subject: Fixed the new question bug, removed some old stuff from settings files, and fixed the errors introduced by the "staticmethod" decorator removal. --- settings.py | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'settings.py') 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 -- cgit v1.2.3-1-g7c22