X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/f41fb09cefa2fca8d5c1e9314bcaa3591590a74c..6f42e02b4415e5f822739a47a7533cbb96794bcb:/migdal/search_indexes.py?ds=sidebyside diff --git a/migdal/search_indexes.py b/migdal/search_indexes.py index 7c2ba7f..d5b57c0 100644 --- a/migdal/search_indexes.py +++ b/migdal/search_indexes.py @@ -19,7 +19,7 @@ class EntryIndex(indexes.SearchIndex, indexes.Indexable): def get_model(self): return Entry - def index_queryset(self): + def index_queryset(self, using=None): """Used when the entire index for model is updated.""" return self.get_model().objects.all()