启动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这些都是有关系的。