From: Jan Szejko Date: Tue, 28 Feb 2017 11:53:00 +0000 (+0100) Subject: fix haystack compatibility X-Git-Tag: 0.5.1 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/6f42e02b4415e5f822739a47a7533cbb96794bcb?ds=inline fix haystack compatibility --- 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() diff --git a/setup.py b/setup.py index 059982f..317ca68 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def whole_trees(package_dir, paths): setup( name='django-migdal', - version='0.5', + version='0.5.1', author='Radek Czajka', author_email='radoslaw.czajka@nowoczesnapolska.org.pl', url='',