X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/00f9b1d3f474c595b381a3064988e442122b59be..a8efde3b7502e1e3b612fe55c62932d06c8a6565:/events/search_indexes.py diff --git a/events/search_indexes.py b/events/search_indexes.py index 2445da6..6b30345 100644 --- a/events/search_indexes.py +++ b/events/search_indexes.py @@ -13,10 +13,6 @@ class EventIndex(indexes.SearchIndex, indexes.Indexable): def get_model(self): return Event - def index_queryset(self): - """Used when the entire index for model is updated.""" - return self.get_model().objects.all() - add_translatable_index(EventIndex, { 'organizer': indexes.CharField(null=True),