summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/setup_templates/settings.py4
-rw-r--r--setup.py7
2 files changed, 7 insertions, 4 deletions
diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py
index 86ddbdad..78e0ab71 100644
--- a/askbot/setup_templates/settings.py
+++ b/askbot/setup_templates/settings.py
@@ -95,7 +95,7 @@ MIDDLEWARE_CLASSES = (
'askbot.middleware.cancel.CancelActionMiddleware',
#'askbot.deps.recaptcha_django.middleware.ReCaptchaMiddleware',
'django.middleware.transaction.TransactionMiddleware',
- 'debug_toolbar.middleware.DebugToolbarMiddleware',
+ #'debug_toolbar.middleware.DebugToolbarMiddleware',
'askbot.middleware.view_log.ViewLogMiddleware',
'askbot.middleware.spaceless.SpacelessMiddleware',
)
@@ -143,7 +143,7 @@ INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.humanize',
'django.contrib.sitemaps',
- 'debug_toolbar',
+ #'debug_toolbar',
'askbot',
'askbot.deps.django_authopenid',
#'askbot.importers.stackexchange', #se loader
diff --git a/setup.py b/setup.py
index 55d9a67c..ac2e78ba 100644
--- a/setup.py
+++ b/setup.py
@@ -3,9 +3,12 @@ ez_setup.use_setuptools()
from setuptools import setup, find_packages
import sys
+#NOTE: if you want to develop askbot
+#you might want to install django-debug-toolbar as well
+
install_requires = [
'django==1.1.2',
- 'django-debug-toolbar==0.7.0',
+ #'django-debug-toolbar==0.7.0',
'South>=0.7.1',
'recaptcha-client',
'markdown2',
@@ -65,7 +68,7 @@ setup(
""",
)
-if sys.platform in WIN_PLATFORMS:
+if WIN_PLATFORM in locals() and sys.platform in WIN_PLATFORMS:
print 'ATTENTION!! please install windows binary mysql-python package'
print 'at http://www.codegood.com/archives/4'