Is Django-haystack 2.6.1 compatible with Django 2.0?

▼魔方 西西 提交于 2019-12-10 11:53:32

问题


My question is simple (as per title). Is the current Django-haystack compatible with the newest Django 2.0? Is anyone using this combination?

The requirements in the docs and at PYPI suggest that it is:

  • https://django-haystack.readthedocs.io/en/master/#requirements
  • https://pypi.python.org/pypi/django-haystack/2.6.1

But the following user faces issues as well as I do when trying to use it with Django 2.0:

  • Django 2.0 haystack whoosh update index, rebuild index throw error

The same setup works with Django 1.11.

Thanks!


回答1:


Haystack 2.6.1 does not support Django 2.0. The README said a supported version of Django but did not explicitly specify the supported versions. If you look at the setup.py, install_requires contained 'Django>=1.8,<1.12'.

Support for Django 2.0 was added in Haystack 2.8, which was released in March 2018.



来源:https://stackoverflow.com/questions/48684419/is-django-haystack-2-6-1-compatible-with-django-2-0

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