comparison gpp/settings.py @ 227:423c39ee44e0

Rework the who's online middleware and template tag for #87.
author Brian Neal <bgneal@gmail.com>
date Tue, 06 Jul 2010 03:02:20 +0000
parents 26ee684c2033
children e4dc0b649fcb
comparison
equal deleted inserted replaced
226:405468b8e3b9 227:423c39ee44e0
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', 84 'gpp.core.middleware.InactiveUserMiddleware',
85 'gpp.forums.middleware.WhosOnline', 85 'gpp.core.middleware.WhosOnline',
86 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 86 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
87 ) 87 )
88 else: 88 else:
89 MIDDLEWARE_CLASSES = ( 89 MIDDLEWARE_CLASSES = (
90 'django.middleware.common.CommonMiddleware', 90 'django.middleware.common.CommonMiddleware',
91 'django.middleware.csrf.CsrfViewMiddleware', 91 'django.middleware.csrf.CsrfViewMiddleware',
92 'django.contrib.sessions.middleware.SessionMiddleware', 92 'django.contrib.sessions.middleware.SessionMiddleware',
93 'django.contrib.messages.middleware.MessageMiddleware', 93 'django.contrib.messages.middleware.MessageMiddleware',
94 'django.contrib.auth.middleware.AuthenticationMiddleware', 94 'django.contrib.auth.middleware.AuthenticationMiddleware',
95 'gpp.core.middleware.InactiveUserMiddleware', 95 'gpp.core.middleware.InactiveUserMiddleware',
96 'gpp.forums.middleware.WhosOnline', 96 'gpp.core.middleware.WhosOnline',
97 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 97 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
98 ) 98 )
99 99
100 ROOT_URLCONF = 'gpp.urls' 100 ROOT_URLCONF = 'gpp.urls'
101 101