summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py22
1 files changed, 7 insertions, 15 deletions
diff --git a/settings.py b/settings.py
index 4135c561..5e147a4d 100644
--- a/settings.py
+++ b/settings.py
@@ -5,7 +5,7 @@ import sys
SITE_ID = 1
-ADMIN_MEDIA_PREFIX = '/forum/admin/media/'
+ADMIN_MEDIA_PREFIX = '/admin_media/'
SECRET_KEY = '$oo^&_m&qwbib=(_4m_n*zn-d=g#s0he5fx9xonnym#8p6yigm'
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
@@ -28,14 +28,14 @@ MIDDLEWARE_CLASSES = [
'forum.middleware.anon_user.ConnectToSessionMessagesMiddleware',
'forum.middleware.pagesize.QuestionsPageSizeMiddleware',
'forum.middleware.cancel.CancelActionMiddleware',
- 'debug_toolbar.middleware.DebugToolbarMiddleware',
- 'recaptcha_django.middleware.ReCaptchaMiddleware',
+ #'recaptcha_django.middleware.ReCaptchaMiddleware',
'django.middleware.transaction.TransactionMiddleware',
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
]
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.request',
- 'context.application_settings',
+ 'forum.context.application_settings',
#'django.core.context_processors.i18n',
'forum.user_messages.context_processors.user_messages',#must be before auth
'django.core.context_processors.auth', #this is required for admin
@@ -68,18 +68,10 @@ INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.humanize',
'django.contrib.sitemaps',
- 'forum',
'debug_toolbar',
- 'stackexchange',#SE loader
+ #'django_evolution',
+ 'forum',
+ #'stackexchange',#prototype of SE loader
]
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