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

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 File type Python version Upload date Hashes
Filename, size dj-pq-1.4.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page