summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/settings.py b/settings.py
index f9b776cd..97d80e97 100644
--- a/settings.py
+++ b/settings.py
@@ -11,8 +11,10 @@ SECRET_KEY = '$oo^&_m&qwbib=(_4m_n*zn-d=g#s0he5fx9xonnym#8p6yigm'
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',
+
+ #below is forum stuff for this tuple
'forum.modules.module_templates_loader',#todo: remove this
- 'forum.skins.load_template_source',
+ 'forum.skins.load_template_source',#forum stuff
# 'django.template.loaders.eggs.load_template_source',
)
@@ -25,6 +27,8 @@ MIDDLEWARE_CLASSES = (
#'django.middleware.cache.FetchFromCacheMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
#'django.middleware.sqlprint.SqlPrintingMiddleware',
+
+ #below is forum stuff for this tuple
'forum.middleware.anon_user.ConnectToSessionMessagesMiddleware',
'forum.middleware.pagesize.QuestionsPageSizeMiddleware',
'forum.middleware.cancel.CancelActionMiddleware',
@@ -34,6 +38,7 @@ MIDDLEWARE_CLASSES = (
'forum.middleware.view_log.ViewLogMiddleware',
)
+#all of these are necessary for the forum and absend in default settings.py
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.request',
'forum.context.application_settings',
@@ -45,6 +50,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
ROOT_URLCONF = 'urls'
TEMPLATE_DIRS = (
+ #specific to forum
os.path.join(os.path.dirname(__file__),'forum','skins').replace('\\','/'),
)
@@ -66,16 +72,19 @@ INSTALLED_APPS = (
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
+
+ #all of these are needed for the forum
'django.contrib.admin',
'django.contrib.humanize',
'django.contrib.sitemaps',
'debug_toolbar',
- #'django_evolution',
'forum',
'django_authopenid',
'debug_toolbar' ,
#'forum.importers.stackexchange', #se loader
'south',
+ 'livesettings',
+ 'keyedcache',
)
AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',)
@@ -83,7 +92,7 @@ AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',)
if USE_FB_CONNECT:
INSTALLED_APPS += ('fbconnect',)
-#load optional plugin module for external password login
+#this needs to go
if 'USE_EXTERNAL_LEGACY_LOGIN' in locals() and USE_EXTERNAL_LEGACY_LOGIN:
INSTALLED_APPS += (EXTERNAL_LEGACY_LOGIN_MODULE,)