summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-30 00:44:46 +0100
committerMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-30 00:44:46 +0100
commitf74e27519337446b928431f28aaa677454861a08 (patch)
treedc9994f1facd272e148f11b73eaa27d6c9bb6f0e /conf
parent0edd939a90b15d4d7c722df23231f18f21e1e127 (diff)
parent4010503557051aabaa5b9f82c4cb29cf849e0a54 (diff)
Merge branch 'master' of sublab.org:subweb
Conflicts: requirements.txt
Diffstat (limited to 'conf')
-rw-r--r--conf/dev_settings.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/conf/dev_settings.py b/conf/dev_settings.py
index b61a979..1953653 100644
--- a/conf/dev_settings.py
+++ b/conf/dev_settings.py
@@ -1,6 +1,6 @@
import os
-from settings import SITE_ROOT
+from settings import SITE_ROOT, INSTALLED_APPS, MIDDLEWARE_CLASSES
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@ -11,3 +11,12 @@ DATABASES = {
'NAME': os.path.join(SITE_ROOT, 'sublab.db'),
}
}
+
+INSTALLED_APPS += ('debug_toolbar',)
+MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
+
+INTERNAL_IPS = ('127.0.0.1')
+
+DEBUG_TOOLBAR_CONFIG = {
+ 'INTERCEPT_REDIRECTS': False,
+}