Celery, kombu and django - import error

前端 未结 2 1765
一个人的身影
一个人的身影 2021-01-19 01:58

I am running an application with django, and I wanted to use celery to make some scheduled tasks.

According to the oficial docs, in my settings.py file I set the br

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-19 02:37

    While it might have happened after your post, the django module was definitely removed from the kombu package. Current documentation for celery states that as of version 3.1, celery works with Django 'out of the box'. That means you don't have to modify settings.py to integrate celery (so don't include references to kombu).

    Removing references to kombu in settings.py is the correct solution.

    This is the commit: https://github.com/celery/kombu/commit/65f982ccf31b86157c39a8feb42081410b83abe2

提交回复
热议问题