From 3bbcb9f4719546cb7da6c24513a5e040cc22ef1d Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 16 Mar 2011 04:51:51 -0400 Subject: [PATCH] Fixed list concatenation --- settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index 6342e4bec2..3f0d15e093 100644 --- a/settings.py +++ b/settings.py @@ -293,7 +293,7 @@ if DEVELOPMENT: try: import debug_toolbar - #INSTALLED_APPS.append('debug_toolbar') + #INSTALLED_APPS +=('debug_toolbar',) except ImportError: #print 'debug_toolbar is not installed' pass @@ -302,7 +302,7 @@ if DEVELOPMENT: WSGI_AUTO_RELOAD = True if 'debug_toolbar' in INSTALLED_APPS: - MIDDLEWARE_CLASSES.append('debug_toolbar.middleware.DebugToolbarMiddleware') + MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',) DEBUG_TOOLBAR_CONFIG={ 'INTERCEPT_REDIRECTS' : False, }