A Django app for Periodiq.
Project description
django_periodiq
django_periodiq is a Django app that integrates with Periodiq.
Requirements
Installation
pip install django-dramatiq django-periodiq
Add django_periodiq
to installed apps before any of your custom
apps and after django_dramatiq
:
import os
INSTALLED_APPS = [
"django_dramatiq",
"django_periodiq",
"myprojectapp1",
"myprojectapp2",
# etc...
]
Add periodiq.PeriodiqMiddleware
to DRAMATIQ_BROKER
middlewares:
DRAMATIQ_BROKER = {
"MIDDLEWARE": [
...
"periodiq.PeriodiqMiddleware",
],
}
Run dramatiq:
python manage.py rundramatiq
Run periodiq:
python manage.py runperiodiq
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_periodiq-0.1.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for django_periodiq-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 356618beac345a21ac09a1c832a71b52e17acbbbb9914cb5b754cfae5ab1303a |
|
MD5 | 72f1effaff8039e6a921b1cf43c6c7ab |
|
BLAKE2b-256 | 086ee61eb1809ea84f6ba2dcabad3c927fb1c0504f750304032ab8a93ba815c5 |