fnp
/
django-migdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
09302fe
)
fix
author
Radek Czajka
<radekczajka@nowoczesnapolska.org.pl>
Mon, 31 Mar 2014 14:58:50 +0000
(16:58 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 29 Mar 2017 08:20:43 +0000
(10:20 +0200)
(cherry picked from commit
7140368
)
migdal/search_indexes.py
patch
|
blob
|
history
diff --git
a/migdal/search_indexes.py
b/migdal/search_indexes.py
index
d5b57c0
..
fc35cff
100644
(file)
--- a/
migdal/search_indexes.py
+++ b/
migdal/search_indexes.py
@@
-19,10
+19,6
@@
class EntryIndex(indexes.SearchIndex, indexes.Indexable):
def get_model(self):
return Entry
def get_model(self):
return Entry
- def index_queryset(self, using=None):
- """Used when the entire index for model is updated."""
- return self.get_model().objects.all()
-
add_translatable_index(EntryIndex, {
'title': indexes.CharField(null=True),
add_translatable_index(EntryIndex, {
'title': indexes.CharField(null=True),