comparison gpp/settings.py @ 215:8c1832b9d815

Implement #84; additional checks on spammers; implement stranger status.
author Brian Neal <bgneal@gmail.com>
date Sat, 29 May 2010 04:51:28 +0000
parents 28988cce138b
children 26ee684c2033
comparison
equal deleted inserted replaced
214:28988cce138b 215:8c1832b9d815
79 'django.middleware.csrf.CsrfViewMiddleware', 79 'django.middleware.csrf.CsrfViewMiddleware',
80 'django.contrib.sessions.middleware.SessionMiddleware', 80 'django.contrib.sessions.middleware.SessionMiddleware',
81 'django.contrib.messages.middleware.MessageMiddleware', 81 'django.contrib.messages.middleware.MessageMiddleware',
82 'debug_toolbar.middleware.DebugToolbarMiddleware', 82 'debug_toolbar.middleware.DebugToolbarMiddleware',
83 'django.contrib.auth.middleware.AuthenticationMiddleware', 83 'django.contrib.auth.middleware.AuthenticationMiddleware',
84 'gpp.core.middleware.InactiveUserMiddleware',
85 'gpp.forums.middleware.WhosOnline',
84 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 86 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
85 'gpp.forums.middleware.WhosOnline',
86 ) 87 )
87 else: 88 else:
88 MIDDLEWARE_CLASSES = ( 89 MIDDLEWARE_CLASSES = (
89 'django.middleware.common.CommonMiddleware', 90 'django.middleware.common.CommonMiddleware',
90 'django.middleware.csrf.CsrfViewMiddleware', 91 'django.middleware.csrf.CsrfViewMiddleware',
91 'django.contrib.sessions.middleware.SessionMiddleware', 92 'django.contrib.sessions.middleware.SessionMiddleware',
92 'django.contrib.messages.middleware.MessageMiddleware', 93 'django.contrib.messages.middleware.MessageMiddleware',
93 'django.contrib.auth.middleware.AuthenticationMiddleware', 94 'django.contrib.auth.middleware.AuthenticationMiddleware',
95 'gpp.core.middleware.InactiveUserMiddleware',
96 'gpp.forums.middleware.WhosOnline',
94 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 97 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
95 'gpp.forums.middleware.WhosOnline',
96 ) 98 )
97 99
98 ROOT_URLCONF = 'gpp.urls' 100 ROOT_URLCONF = 'gpp.urls'
99 101
100 TEMPLATE_DIRS = ( 102 TEMPLATE_DIRS = (