diff 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
line wrap: on
line diff
--- a/gpp/settings.py	Fri May 14 02:19:48 2010 +0000
+++ b/gpp/settings.py	Sat May 29 04:51:28 2010 +0000
@@ -81,8 +81,9 @@
         'django.contrib.messages.middleware.MessageMiddleware',
         'debug_toolbar.middleware.DebugToolbarMiddleware',
         'django.contrib.auth.middleware.AuthenticationMiddleware',
+        'gpp.core.middleware.InactiveUserMiddleware',
+        'gpp.forums.middleware.WhosOnline',
         'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
-        'gpp.forums.middleware.WhosOnline',
     )
 else:
     MIDDLEWARE_CLASSES = (
@@ -91,8 +92,9 @@
         'django.contrib.sessions.middleware.SessionMiddleware',
         'django.contrib.messages.middleware.MessageMiddleware',
         'django.contrib.auth.middleware.AuthenticationMiddleware',
+        'gpp.core.middleware.InactiveUserMiddleware',
+        'gpp.forums.middleware.WhosOnline',
         'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
-        'gpp.forums.middleware.WhosOnline',
     )
 
 ROOT_URLCONF = 'gpp.urls'