From: Radek Czajka Date: Mon, 31 Mar 2014 14:58:50 +0000 (+0200) Subject: fix X-Git-Tag: 0.6.1~1 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/13f3329504332cdb807d3ba925a1f31f2856404d?ds=inline fix (cherry picked from commit 7140368) --- diff --git a/migdal/search_indexes.py b/migdal/search_indexes.py index d5b57c0..fc35cff 100644 --- a/migdal/search_indexes.py +++ b/migdal/search_indexes.py @@ -19,10 +19,6 @@ class EntryIndex(indexes.SearchIndex, indexes.Indexable): def get_model(self): return Entry - def index_queryset(self, using=None): - """Used when the entire index for model is updated.""" - return self.get_model().objects.all() - add_translatable_index(EntryIndex, { 'title': indexes.CharField(null=True),