django celery AttributeError: 'str' object has no attribute 'items'
这是版本冲突引起的
解决:
django==1.10
django-celery==3.2.2
celery==3.1.26.post2
django-redis==4.7.0
redis==2.10.6
PS:还有一个原因可能是您没有迁移数据库,迁移后就没问题了
同步Celery表到数据库
执行: python manage.py migrate
完成
1、pycharm启动django项目
-python manage.py celery worker -c 4 --loglevel=info
搞定