Introduction

Installation

You can install this package from PyPI:

pip install dj-whisperer

You need to append it to the INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    'whisperer',
]

Then migrate your project:

python manage.py migrate whisperer

add cron to CELERYBEAT_SCHEDULE for undelivered event scanner:

CELERYBEAT_SCHEDULE = {
    ...
    'undelivered-event-scanner-cron': {
        'task': 'whisperer.tasks.undelivered_event_scanner',
        'schedule': get_rand_seconds(60 * 60, deviation_seconds=60 * 30),
        'args': (),
    },
}

Now you are ready to create your whisperer events, take a look at Quick Start.