fanne / djangoOps

用django+ansible完成一个简单的运维管理平台
9 stars 8 forks source link

执行run.py :'Celery' object has no attribute 'autodiscover_tasks' #1

Open weinshun opened 7 years ago

weinshun commented 7 years ago

File "/wns/djangoOps/eyuOps/celery.py", line 16, in app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) AttributeError: 'Celery' object has no attribute 'autodiscover_tasks' 求作者回答,执行项目这个报错,该什么解决。

fanne commented 7 years ago

celery版本对不上吧