diff 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
line wrap: on
line diff
--- a/gpp/settings.py	Sun Dec 20 20:42:19 2009 +0000
+++ b/gpp/settings.py	Tue Dec 22 02:08:05 2009 +0000
@@ -75,6 +75,7 @@
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
+    'gpp.forums.middleware.WhosOnline',
 )
 
 ROOT_URLCONF = 'gpp.urls'