summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 6d0af1a..dd71bc4 100644
--- a/settings.py
+++ b/settings.py
@@ -108,6 +108,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
)
ROOT_URLCONF = 'aloha.urls'
@@ -132,6 +133,8 @@ INSTALLED_APPS = (
# 'django.contrib.admindocs',
#Third-Party Apps
'south',
+ 'django_extensions',
+ 'debug_toolbar',
'allotter',
)
@@ -162,3 +165,18 @@ LOGGING = {
AUTH_PROFILE_MODULE = "allotter.Profile"
LOGIN_URL = '/allotter/login'
+
+#For developing locally
+INTERNAL_IPS = ('127.0.0.1')
+
+DEBUG_TOOLBAR_PANELS = (
+ 'debug_toolbar.panels.version.VersionDebugPanel',
+ 'debug_toolbar.panels.timer.TimerDebugPanel',
+ 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
+ 'debug_toolbar.panels.headers.HeaderDebugPanel',
+ 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
+ 'debug_toolbar.panels.template.TemplateDebugPanel',
+ 'debug_toolbar.panels.sql.SQLDebugPanel',
+ 'debug_toolbar.panels.signals.SignalDebugPanel',
+ 'debug_toolbar.panels.logger.LoggingPanel',
+)