Commit 85239cb9e2723f766ef1df5f854732d84470840e

Authored by Luan
1 parent 9eede01f

Adding updated field to users

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/accounts/search_indexes.py
... ... @@ -22,6 +22,9 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable):
22 22 def get_model(self):
23 23 return User
24 24  
  25 + def get_updated_field(self):
  26 + return 'date_joined'
  27 +
25 28 def prepare_type(self, obj):
26 29 return u'user'
27 30  
... ...