From 6f42e02b4415e5f822739a47a7533cbb96794bcb Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 28 Feb 2017 12:53:00 +0100 Subject: [PATCH] fix haystack compatibility --- migdal/search_indexes.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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='', -- 2.20.1