comparison gpp/settings.py @ 323:0c18dfb1da1c

Fixing #149; adding the ygroup application: an archive of the old Yahoo Group messages.
author Brian Neal <bgneal@gmail.com>
date Sun, 20 Feb 2011 00:31:54 +0000
parents c550933ff5b6
children 33f3d5987a96
comparison
equal deleted inserted replaced
322:c3d3d7114749 323:0c18dfb1da1c
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 )
156 'polls', 156 'polls',
157 'potd', 157 'potd',
158 'shoutbox', 158 'shoutbox',
159 'smiley', 159 'smiley',
160 'weblinks', 160 'weblinks',
161 'ygroup',
161 ] 162 ]
162 if DEBUG: 163 #if DEBUG:
163 INSTALLED_APPS.append('debug_toolbar') 164 # INSTALLED_APPS.append('debug_toolbar')
164 165
165 LOGIN_URL = '/accounts/login/' 166 LOGIN_URL = '/accounts/login/'
166 LOGIN_REDIRECT_URL = '/profile/me/' 167 LOGIN_REDIRECT_URL = '/profile/me/'
167 LOGOUT_URL = '/accounts/logout/' 168 LOGOUT_URL = '/accounts/logout/'
168 169