[Django]-Django-celery : TypeError: can only concatenate tuple (not "NoneType") to tuple

1👍

Even i was facing the same issue, where i was trying to integrate celery with django via djcelery package. Then i read many blogs and documentation and found below conclusion.

“Previous versions of Celery required a separate library to work with Django, but since 3.1 this is no longer the case. Django is supported out of the box now”

[Celery Notes][1]http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html

without using djcelery i wrote the tasks directly and it worked !

2👍

Just comment out these lines in “~/anaconda2/envs/test_django/lib/python3.6/site-packages/djcelery/management/commands/celery.py ” like this:

 14     #    options = (CeleryCommand.options +
 15     #           base.get_options() +
 16     #           base.preload_options)

then it works.

👤xLI4n

Leave a comment