cmpuqrct: development settings for debug toolbar
authorTero Marttila <terom@fixme.fi>
Mon, 02 Sep 2013 02:10:15 +0300
changeset 67 dbb8316af016
parent 66 8ca335eab457
child 68 182ac4b328ec
cmpuqrct: development settings for debug toolbar
cmpuqrct/settings/default.py
--- a/cmpuqrct/settings/default.py	Sat Aug 31 21:39:02 2013 +0300
+++ b/cmpuqrct/settings/default.py	Mon Sep 02 02:10:15 2013 +0300
@@ -1,9 +1,24 @@
 # Default settings intended for development use
 
+from cmpuqrct.settings.base import *
+
 ## Error handling
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
 
+## Debug toolbar
+MIDDLEWARE_CLASSES += (
+    'debug_toolbar.middleware.DebugToolbarMiddleware',
+)
+
+INSTALLED_APPS += (
+    'debug_toolbar',
+)
+
+INTERNAL_IPS = (
+    '127.0.0.1',
+)
+
 ## Secrets
 # Make this unique, and don't share it with anybody.
 SECRET_KEY = 'wn78diy2()$xy%fapw8aka1hc_8(dbjv*wktfzn6x&rc#1p8x)'