mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-27 04:09:56 +00:00
Allow quick index updates
This commit is contained in:
@@ -13,3 +13,5 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable):
|
|||||||
"""Used when the entire index for model is updated."""
|
"""Used when the entire index for model is updated."""
|
||||||
return self.get_model().objects.all()
|
return self.get_model().objects.all()
|
||||||
|
|
||||||
|
def get_updated_field(self):
|
||||||
|
return "last_update"
|
||||||
|
Reference in New Issue
Block a user