Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django Celery: manage.py celeryd returns "Unknown Command"

I'm trying to setup Celery with Django ORM as backend.

I've installed all required packages(django-celery, djkombu), done everything specified by the docs, ran syncdb to generate necessary DB tables.

Still, when I'm trying to launch Celery through manage.py command, I'm getting an 'Unknown Command' error.

python manage.py celeryd
Unknown command: 'celeryd'

I think I'm missing some crucial detail but can't figure out what.

This is how my settings.py file look like. Can anyone please point out what I'm doing wrong?

like image 774
rubayeet Avatar asked Mar 20 '11 11:03

rubayeet


1 Answers

Doesn't look like you have djcelery anywhere in your installed apps

Using django-celery

To enable django-celery for your project you need to add djcelery to INSTALLED_APPS:

INSTALLED_APPS += ("djcelery", )

http://pypi.python.org/pypi/django-celery#documentation

like image 149
dting Avatar answered Oct 21 '22 09:10

dting