Mercurial > public > sg101
diff gpp/antispam/utils.py @ 562:98b373ca09f3
For bitbucket issue #3, ensure that changes to Profile, Post & Topic models
via the admin cause the search index to be updated.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 08 Feb 2012 18:58:57 -0600 |
parents | 767cedc7d12a |
children | 93f049a241ff |
line wrap: on
line diff
--- a/gpp/antispam/utils.py Mon Feb 06 20:37:02 2012 -0600 +++ b/gpp/antispam/utils.py Wed Feb 08 18:58:57 2012 -0600 @@ -60,7 +60,7 @@ profile = user.get_profile() profile.status = STA_SUSPENDED profile.status_date = datetime.datetime.now() - profile.save() + profile.save(content_update=False) def _get_spam_phrases():