Mercurial > public > sg101
comparison gpp/settings.py @ 317:2934a867c2ef
Updating home page text for #147. Several other minor tweaks; adding favicon.ico.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 02 Feb 2011 20:37:17 +0000 |
parents | 767cedc7d12a |
children | c550933ff5b6 |
comparison
equal
deleted
inserted
replaced
316:767cedc7d12a | 317:2934a867c2ef |
---|---|
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 ) |
157 'potd', | 157 'potd', |
158 'shoutbox', | 158 'shoutbox', |
159 'smiley', | 159 'smiley', |
160 'weblinks', | 160 'weblinks', |
161 ] | 161 ] |
162 if DEBUG: | 162 #if DEBUG: |
163 INSTALLED_APPS.append('debug_toolbar') | 163 # INSTALLED_APPS.append('debug_toolbar') |
164 | 164 |
165 LOGIN_URL = '/accounts/login/' | 165 LOGIN_URL = '/accounts/login/' |
166 LOGIN_REDIRECT_URL = '/profile/me/' | 166 LOGIN_REDIRECT_URL = '/profile/me/' |
167 LOGOUT_URL = '/accounts/logout/' | 167 LOGOUT_URL = '/accounts/logout/' |
168 | 168 |