Commit bdd29a4d authored by Skia's avatar Skia 🤘
Browse files

Allow quick index updates

parent e66b274f
Pipeline #557 passed with stage
in 2 minutes and 24 seconds
......@@ -13,3 +13,5 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable):
"""Used when the entire index for model is updated."""
return self.get_model().objects.all()
def get_updated_field(self):
return "last_update"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment