X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/00f9b1d3f474c595b381a3064988e442122b59be..ad9181d5de95c8dd356f6e2687769c970ceff9f9:/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),