Skip to main content

Integration of Django with dramatiq-pg

Project description

dramatiq-pg integration for django


  1. Install with pip

    $ pip install django-dramatiq-pg
  2. Add to your INSTALLED_APPS list in

  3. Configure the Database

        "OPTIONS": {
            "url": "postgres:///mydb",
        "MIDDLEWARE": [
  4. Start the worker process:

    $ dramatiq django_dramatiq_pg.worker

This worker module will auto-discover any module called ‘actors’ in INSTALLED_APPS.


This package attempts to retain backward compatibility with django-dramatiq settings, but ingores the BROKER key for DRAMATIQ_BROKER.

See for more details.


A dict of options to pass when instantiating the broker.


Arguments to pass to the Broker.


A list of middleware classes to be passed to the broker.

These can either be import strings, or instances.


Default: None

Import path for encoder class.


Default: ‘actors’

Name of module use to auto-discover actors in INSTALLED_APPS.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-dramatiq-pg-1.0.4.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

django_dramatiq_pg-1.0.4-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page