diff gpp/antispam/models.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
line wrap: on
line diff
--- a/gpp/antispam/models.py	Fri May 14 02:19:48 2010 +0000
+++ b/gpp/antispam/models.py	Sat May 29 04:51:28 2010 +0000
@@ -19,4 +19,5 @@
 
     def save(self, *args, **kwargs):
         cache.delete(SPAM_PHRASE_KEY)
+        self.phrase = self.phrase.lower()
         super(SpamPhrase, self).save(*args, **kwargs)