diff options
-rw-r--r-- | conf/dev_settings.py | 11 | ||||
-rw-r--r-- | requirements.txt | 1 |
2 files changed, 11 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, +} diff --git a/requirements.txt b/requirements.txt index b7a8960..770936f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ Django==1.3.1 South==0.7.3 gunicorn==0.13.4 +django-debug-toolbar==0.8.5 |