Django 1.9/Haystack 2.4.1 “Model could not be found for SearchResult”

自古美人都是妖i 提交于 2019-12-07 17:58:39
krvss

I have the same problem with Solr. Found the solution here: Haystack says “Model could not be found for SearchResult”

Basically, Haystack 2.4.1 uses the outdated call to Django, this was fixed in latest the master.

So I've replaced django-haystack==2.4.1 in my requirements with git+git://github.com/django-haystack/django-haystack.git and it started to work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!