mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 22:23:23 +00:00
Allow quick index updates
This commit is contained in:
parent
e66b274f0e
commit
bdd29a4d65
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user