Mercurial > public > sg101
diff gpp/bio/admin.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 | 701730b2fcda |
children | 93f049a241ff |
line wrap: on
line diff
--- a/gpp/bio/admin.py Mon Feb 06 20:37:02 2012 -0600 +++ b/gpp/bio/admin.py Wed Feb 08 18:58:57 2012 -0600 @@ -54,7 +54,7 @@ profile.user.save() profile.status = status profile.status_date = now - profile.save() + profile.save(content_update=False) count = len(qs) msg = "1 user" if count == 1 else "%d users" % count