Traceback (most recent call last):
File "init.py", line 22, in <module>
main()
File "init.py", line 18, in main
init_task_db()
File "init.py", line 11, in init_task_db
task = Task.objects.get_or_create(type='beat')[0]
AttributeError: 'QuerySet' object has no attribute 'get_or_create'
环境版本如下
运行
python init.py, 报错如下python beat.py start以及python work.py start都有报错,就不贴出来了,猜测是版本问题是否方便告知改项目使用的版本问题???