comparison gpp/settings.py @ 160:2eb3984ccb15

Implement #45, add a who's online feature for the forums. Created middleware that caches usernames and guest session ids in the cache. Added a tag that displays this info.
author Brian Neal <bgneal@gmail.com>
date Tue, 22 Dec 2009 02:08:05 +0000
parents a4fdc4d23b9e
children a88041a84957
comparison
equal deleted inserted replaced
159:416353def4ca 160:2eb3984ccb15
73 MIDDLEWARE_CLASSES = ( 73 MIDDLEWARE_CLASSES = (
74 'django.middleware.common.CommonMiddleware', 74 'django.middleware.common.CommonMiddleware',
75 'django.contrib.sessions.middleware.SessionMiddleware', 75 'django.contrib.sessions.middleware.SessionMiddleware',
76 'django.contrib.auth.middleware.AuthenticationMiddleware', 76 'django.contrib.auth.middleware.AuthenticationMiddleware',
77 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 77 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
78 'gpp.forums.middleware.WhosOnline',
78 ) 79 )
79 80
80 ROOT_URLCONF = 'gpp.urls' 81 ROOT_URLCONF = 'gpp.urls'
81 82
82 TEMPLATE_DIRS = ( 83 TEMPLATE_DIRS = (