This document describes an older version of Celery (2.5). For the latest stable version please go here.

Using the Django Database

Installation

Configuration

The database transport uses the Django DATABASE_* settings for database configuration values.

  1. Set your broker transport:

    BROKER_URL = "django://"
    
  2. Add kombu.transport.django to INSTALLED_APPS:

    INSTALLED_APPS = ("kombu.transport.django", )
    
  3. Sync your database schema:

    $ python manage.py syncdb

Limitations

The Django database transport does not currently support:

  • Remote control commands (celeryev, broadcast)
  • Events, including the Django Admin monitor.
  • Using more than a few workers (can lead to messages being executed multiple times).

Previous topic

Using SQLAlchemy

Next topic

Using MongoDB

This Page