fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update django-migdal
[prawokultury.git]
/
events
/
search_indexes.py
diff --git
a/events/search_indexes.py
b/events/search_indexes.py
index
2445da6
..
6b30345
100644
(file)
--- a/
events/search_indexes.py
+++ b/
events/search_indexes.py
@@
-13,10
+13,6
@@
class EventIndex(indexes.SearchIndex, indexes.Indexable):
def get_model(self):
return Event
def get_model(self):
return Event
- def index_queryset(self):
- """Used when the entire index for model is updated."""
- return self.get_model().objects.all()
-
add_translatable_index(EventIndex, {
'organizer': indexes.CharField(null=True),
add_translatable_index(EventIndex, {
'organizer': indexes.CharField(null=True),