Search code examples
djangocelerydjango-celery

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?


Solution

  • 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