Skip to content

q0w/django-periodiq

Repository files navigation

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

About

A Django app that integrates with Periodiq.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages