# HG changeset patch # User Brian Neal # Date 1298238747 0 # Node ID 33f3d5987a96f6816b5f25e7f3eac38200f9c743 # Parent 0c18dfb1da1c51de16f8e7ce173c724a8cc1b639 Turning the django debug toolbar on again after updating django trunk. diff -r 0c18dfb1da1c -r 33f3d5987a96 gpp/settings.py --- 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/'