Skip to main content

A Django app for Periodiq.

Project description

django_periodiq

django_periodiq is a Django app that integrates with Periodiq.

Requirements

Installation

pip install django-periodiq

Add django_periodiq to installed apps before any of your custom apps and after django_dramatiq:

INSTALLED_APPS = [
    "django_dramatiq",
    "django_periodiq",
    "myprojectapp1",
    "myprojectapp2",
    # etc...
]

Add periodiq.PeriodiqMiddleware to DRAMATIQ_BROKER middlewares:

DRAMATIQ_BROKER = {
    "MIDDLEWARE": [
            ...
        "periodiq.PeriodiqMiddleware",
    ],
}

To change PeriodiqMiddleware.skip_delay add PERIODIQ_SKIP_DELAY settings

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.3.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

django_periodiq-0.3.0-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 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