流沙团
ImportError: cannot import name 'connections' from 'haystack'
2022-8-11 流沙团

报错场景

运行 celery任务的时候, 提示报错



ImportError: cannot import name ‘connections’ from ‘haystack’



问题原因


问题处理

pip uninstall haystack
pip uninstall django-haystack
pip install django-haystack
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容