Celery v0.9.0 (unstable) documentation

This Page

Django Loader - celery.loaders.djangoapp

class celery.loaders.djangoapp.Loader

The Django loader.

on_task_init(task_id, task)

This method is called before a task is executed.

Does everything necessary for Django to work in a long-living, multiprocessing environment.

on_worker_init()

Called when the worker starts.

Uses celery.discovery.autodiscover() to automatically discover any tasks.py files in the applications listed in INSTALLED_APPS.

read_configuration()
Load configuration from Django settings.