Skip to main content

``pq`` wrapper for django

Project description

pq wrapper for django.


pip install dj-pq


Add dj_pq to your INSTALLED_APPS:


Apply migrations:

./ migrate


dj-pq exposes the pq tasks API.

from dj_pq import get_queue

queue = get_queue('notifications')

def notify(user_id):


Optionally a Queue can be bound to a specific database connection:

queue = get_queue('notifications', 'another_connection')

A worker command allows to start a worker for a given queue:

./ worker notifications

Project details

Download files

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

Files for dj-pq, version 1.4.2
Filename, size & hash File type Python version Upload date
dj-pq-1.4.2.tar.gz (3.2 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page