Mercurial > public > sg101
comparison gpp/settings.py @ 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 |
parents | 0c18dfb1da1c |
children | 6d6fdc58487c |
comparison
equal
deleted
inserted
replaced
323:0c18dfb1da1c | 324:33f3d5987a96 |
---|---|
81 MIDDLEWARE_CLASSES = ( | 81 MIDDLEWARE_CLASSES = ( |
82 'django.middleware.common.CommonMiddleware', | 82 'django.middleware.common.CommonMiddleware', |
83 'django.middleware.csrf.CsrfViewMiddleware', | 83 'django.middleware.csrf.CsrfViewMiddleware', |
84 'django.contrib.sessions.middleware.SessionMiddleware', | 84 'django.contrib.sessions.middleware.SessionMiddleware', |
85 'django.contrib.messages.middleware.MessageMiddleware', | 85 'django.contrib.messages.middleware.MessageMiddleware', |
86 #'debug_toolbar.middleware.DebugToolbarMiddleware', | 86 'debug_toolbar.middleware.DebugToolbarMiddleware', |
87 'django.contrib.auth.middleware.AuthenticationMiddleware', | 87 'django.contrib.auth.middleware.AuthenticationMiddleware', |
88 'gpp.core.middleware.InactiveUserMiddleware', | 88 'gpp.core.middleware.InactiveUserMiddleware', |
89 'gpp.core.middleware.WhosOnline', | 89 'gpp.core.middleware.WhosOnline', |
90 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', | 90 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', |
91 ) | 91 ) |
158 'shoutbox', | 158 'shoutbox', |
159 'smiley', | 159 'smiley', |
160 'weblinks', | 160 'weblinks', |
161 'ygroup', | 161 'ygroup', |
162 ] | 162 ] |
163 #if DEBUG: | 163 if DEBUG: |
164 # INSTALLED_APPS.append('debug_toolbar') | 164 INSTALLED_APPS.append('debug_toolbar') |
165 | 165 |
166 LOGIN_URL = '/accounts/login/' | 166 LOGIN_URL = '/accounts/login/' |
167 LOGIN_REDIRECT_URL = '/profile/me/' | 167 LOGIN_REDIRECT_URL = '/profile/me/' |
168 LOGOUT_URL = '/accounts/logout/' | 168 LOGOUT_URL = '/accounts/logout/' |
169 | 169 |