如何做到这一点? 现在我只获得了针对页面标题的索引。像cms.title对象被索引。
我已按预期添加应用:
#settings.py
#TODO: It's not recommended for production use but it will return results.
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
},
}
HAYSTACK_ROUTERS = ['aldryn_search.router.LanguageRouter', ]
ALDRYN_SEARCH_REGISTER_APPHOOK = True
是否有任何我不知道的触发器?
答案 0 :(得分:0)
虽然这是个老问题,但我希望这可以帮助其他人
我还加了
INSTALLED_APPS = [ 'aldryn_search', 'spurl', 'haystack', 'standard_form' ]
见Mention that the aldryn search view requires standard_form
#87