fix haystack compatibility 0.5.1
authorJan Szejko <janek37@gmail.com>
Tue, 28 Feb 2017 11:53:00 +0000 (12:53 +0100)
committerJan Szejko <janek37@gmail.com>
Tue, 28 Feb 2017 11:53:00 +0000 (12:53 +0100)
migdal/search_indexes.py
setup.py

index 7c2ba7f..d5b57c0 100644 (file)
@@ -19,7 +19,7 @@ class EntryIndex(indexes.SearchIndex, indexes.Indexable):
     def get_model(self):
         return Entry
 
     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()
 
         """Used when the entire index for model is updated."""
         return self.get_model().objects.all()
 
index 059982f..317ca68 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ def whole_trees(package_dir, paths):
 
 setup(
     name='django-migdal',
 
 setup(
     name='django-migdal',
-    version='0.5',
+    version='0.5.1',
     author='Radek Czajka',
     author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     url='',
     author='Radek Czajka',
     author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     url='',