Skip to main content
Help us improve Python packaging – donate today!

Background workers for Leonardo CMS

Project Description

This module provide worker for hard work around periodical syncing and updating caches, sending emails or whatever you need do asynchronously.


pip install leonardo-celery
pip install django-leonardo[celery]


BROKER_URL = 'redis://localhost:6379/0'

BROKER_URL = 'amqp://user:password@'

Set custom scheduler and result backend

CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend'

CELERYBEAT_SCHEDULER = "djcelery.schedulers.DatabaseScheduler"

Start worker

python celery worker -B -E

Syncing state

For syncing state to databse run celerycam

python celerycam

Tasks are discovered by standard mechanism:

app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)

Use smart caching

Use cacheback jobs for fetching data asynchronously.

pip install leonardo-celery[cacheback]

Define your jobs. More about Jobs

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
leonardo-celery-0.1.2.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Apr 8, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page