fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[prawokultury.git]
/
prawokultury
/
settings.d
/
35-search.py
diff --git
a/prawokultury/settings.d/35-search.py
b/prawokultury/settings.d/35-search.py
index
15667a3
..
78453e2
100644
(file)
--- a/
prawokultury/settings.d/35-search.py
+++ b/
prawokultury/settings.d/35-search.py
@@
-5,4
+5,5
@@
HAYSTACK_CONNECTIONS = {
},
}
},
}
-HAYSTACK_DOCUMENT_FIELD = "body_%s" % LANGUAGE_CODE
+HAYSTACK_DOCUMENT_FIELD = "text"
+HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'