fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Django 1.7 + Makefile
[prawokultury.git]
/
questions
/
search_indexes.py
diff --git
a/questions/search_indexes.py
b/questions/search_indexes.py
index
ae126f0
..
e2e05f8
100755
(executable)
--- a/
questions/search_indexes.py
+++ b/
questions/search_indexes.py
@@
-14,6
+14,6
@@
class QuestionIndex(indexes.SearchIndex, indexes.Indexable):
def get_model(self):
return Question
- def index_queryset(self):
+ def index_queryset(self
, using=None
):
"""Used when the entire index for model is updated."""
return self.get_model().objects.filter(published=True)