summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorMike Chen <chagel@gmail.com>2009-08-14 00:01:51 +0800
committerMike Chen <chagel@gmail.com>2009-08-14 00:01:51 +0800
commitc928d679ca8513a0d5a64bcd2831fd85bb396bb9 (patch)
treede4b20ace6b067adb00ed2afbc25a721c232fd57 /settings.py
parent42a226eac8e9c4b06c1c25b6d813d0eb342bc0d0 (diff)
downloadaskbot-c928d679ca8513a0d5a64bcd2831fd85bb396bb9.tar.gz
askbot-c928d679ca8513a0d5a64bcd2831fd85bb396bb9.tar.bz2
askbot-c928d679ca8513a0d5a64bcd2831fd85bb396bb9.zip
temporary fix for 1.1 aggregation compatible issue
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/settings.py b/settings.py
index ce8c9d89..aa991898 100644
--- a/settings.py
+++ b/settings.py
@@ -37,7 +37,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.transaction.TransactionMiddleware',
#'django.middleware.sqlprint.SqlPrintingMiddleware',
#'middleware.pagesize.QuestionsPageSizeMiddleware',
- #'debug_toolbar.middleware.DebugToolbarMiddleware',
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = (
@@ -73,8 +73,9 @@ INSTALLED_APPS = (
'django.contrib.humanize',
'forum',
'django_authopenid',
- #'debug_toolbar' ,
+ 'debug_toolbar' ,
)
-
+import django
+DJANGO_VERSION = django.get_version()
# User settings
from settings_local import * \ No newline at end of file