diff options
author | Christian Franke <nobody@nowhere.ws> | 2011-12-30 00:06:58 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2011-12-30 00:07:20 +0100 |
commit | 4010503557051aabaa5b9f82c4cb29cf849e0a54 (patch) | |
tree | e1ebdf80943004463d859acc716be728f5b1e1ea /conf | |
parent | 2909dc657a865b3bf35707fa4599ecab0bfe3b8f (diff) |
add django-debug-toolbar
Diffstat (limited to 'conf')
-rw-r--r-- | conf/dev_settings.py | 11 |
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, +} |