Django-haystack 2.6.1是否与Django 2.0兼容? [英] Is Django-haystack 2.6.1 compatible with Django 2.0?

查看:157
本文介绍了Django-haystack 2.6.1是否与Django 2.0兼容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题很简单(按标题)。当前的Django干草堆是否与最新的Django 2.0兼容?有人使用这种组合吗?

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

文档中以及PYPI上的要求建议是:

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

但是以下用户面临的问题以及尝试与Django 2.0一起使用时遇到的问题:

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

相同的设置适用于Django 1.11。

The same setup works with Django 1.11.

谢谢!

推荐答案

Haystack 2.6.1不支持Django 2.0。 README 表示受支持的版本Django ,但未明确指定受支持的版本。如果您查看 setup .py install_requires 包含'Django> = 1.8,<1.12'。

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'.

在2018年3月发布的Haystack 2.8中添加了对Django 2.0的支持。

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

这篇关于Django-haystack 2.6.1是否与Django 2.0兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆