From: Radek Czajka Date: Mon, 31 Mar 2014 14:58:50 +0000 (+0200) Subject: fix X-Git-Tag: 0.4 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/7140368dfb24ff4a4e7f7943eb14e44dff7b7321 fix --- diff --git a/migdal/search_indexes.py b/migdal/search_indexes.py index d809e7b..79727b1 100644 --- a/migdal/search_indexes.py +++ b/migdal/search_indexes.py @@ -15,10 +15,6 @@ class EntryIndex(indexes.SearchIndex, indexes.Indexable): def get_model(self): return Entry - def index_queryset(self): - """Used when the entire index for model is updated.""" - return self.get_model().objects.all() - add_translatable_index(EntryIndex, { 'title': indexes.CharField(null=True),