aboutsummaryrefslogtreecommitdiffstats
path: root/manager/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'manager/settings.py')
-rw-r--r--manager/settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/manager/settings.py b/manager/settings.py
index 03942d9..fae2385 100644
--- a/manager/settings.py
+++ b/manager/settings.py
@@ -69,6 +69,13 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
+if DEBUG:
+ INSTALLED_APPS.append('debug_toolbar')
+ MIDDLEWARE.append('debug_toolbar.middleware.DebugToolbarMiddleware')
+ INTERNAL_IPS = [
+ '127.0.0.1',
+ ]
+
ROOT_URLCONF = 'manager.urls'
TEMPLATES = [