diff gpp/bio/search_indexes.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 387d46abcb95
children
line wrap: on
line diff
--- a/gpp/bio/search_indexes.py	Mon Feb 06 20:37:02 2012 -0600
+++ b/gpp/bio/search_indexes.py	Wed Feb 08 18:58:57 2012 -0600
@@ -26,8 +26,5 @@
     def enqueue_save(self, sender, **kwargs):
         return self.enqueue('update', sender)
 
-    def can_index(self, instance):
-        return instance.user.is_active
-
 
 site.register(UserProfile, UserProfileIndex)