Celery 1.0.6 (stable) 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.

Automatically discovers any tasks.py files in the applications listed in INSTALLED_APPS.

read_configuration()

Load configuration from Django settings.

celery.loaders.djangoapp.autodiscover()

Include tasks for all applications in INSTALLED_APPS.

Given an application name and a module name, tries to find that module in the application.