changeset 324:33f3d5987a96

Turning the django debug toolbar on again after updating django trunk.
author Brian Neal <bgneal@gmail.com>
date Sun, 20 Feb 2011 21:52:27 +0000 (2011-02-20)
parents 0c18dfb1da1c
children d8b634e67043
files gpp/settings.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/settings.py	Sun Feb 20 00:31:54 2011 +0000
+++ b/gpp/settings.py	Sun Feb 20 21:52:27 2011 +0000
@@ -83,7 +83,7 @@
         'django.middleware.csrf.CsrfViewMiddleware',
         'django.contrib.sessions.middleware.SessionMiddleware',
         'django.contrib.messages.middleware.MessageMiddleware',
-        #'debug_toolbar.middleware.DebugToolbarMiddleware',
+        'debug_toolbar.middleware.DebugToolbarMiddleware',
         'django.contrib.auth.middleware.AuthenticationMiddleware',
         'gpp.core.middleware.InactiveUserMiddleware',
         'gpp.core.middleware.WhosOnline',
@@ -160,8 +160,8 @@
     'weblinks',
     'ygroup',
 ]
-#if DEBUG:
-#    INSTALLED_APPS.append('debug_toolbar')
+if DEBUG:
+    INSTALLED_APPS.append('debug_toolbar')
 
 LOGIN_URL = '/accounts/login/'
 LOGIN_REDIRECT_URL = '/profile/me/'