fnp
/
django-migdal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix haystack compatibility
[django-migdal.git]
/
migdal
/
search_indexes.py
diff --git
a/migdal/search_indexes.py
b/migdal/search_indexes.py
index
7c2ba7f
..
d5b57c0
100644
(file)
--- 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()