Jockfi
2019-01-22 20:37
启动Django时报以下错误:
File "D:\env\venv\lib\site-packages\djcelery\models.py", line 16, in <module>
from . import managers
File "D:\env\venv\lib\site-packages\djcelery\managers.py", line 102, in <module>
class ResultManager(ExtendedManager):
File "D:\env\venv\lib\site-packages\djcelery\managers.py", line 108, in ResultManager
@transaction.commit_manually
AttributeError: module 'django.db.transaction' has no attribute 'commit_manually'
具体怎么解决我也不知道,但是可以换一下环境,比如djcelery,celery,python,django,redis这些都是有关系的。
Python 异步任务队列 Celery 使用
10849 学习 · 43 问题
相似问题