Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

``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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page