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