0
Turns out this was an installation problem. I just reset my virtualenv, re-installed celery and viola. Sorry to have wasted everyone’s time.
2
Your config is fine. But when start the worker, you need to specify the app name or the file which has the celery object. But you are just specifying the my_project
which doesn’t have the celery object.
celery worker -A my_project.celery -l debug
should solve the problem.
Also rename your celery.py to celery_conf.py or something else.
- [Answered ]-Save pillow objects to S3 with django_storages
- [Answered ]-Django: TypeError: 'x' is an invalid keyword argument for this function
- [Answered ]-I can't achieve modelformset set initial values to the extra forms
- [Answered ]-Gunicorn + Django + Virtualenv + init.d service (CentOS)
Source:stackexchange.com