This document describes an older version of Celery (2.5). For the latest stable version please go here.

celery.loaders.default

celery.loaders.default

The default loader used when no custom app has been initialized.

copyright:
  1. 2009 - 2012 by Ask Solem.
license:

BSD, see LICENSE for more details.

class celery.loaders.default.Loader(app=None, **kwargs)

The loader used by the default app.

find_module(module)
on_worker_init()

Imports modules at worker init so tasks can be registered and used by the worked.

The list of modules to import is taken from the CELERY_IMPORTS setting.

read_configuration()

Read configuration from celeryconfig.py and configure celery and Django so it can be used by regular Python.

setup_settings(settingsdict)
wanted_module_item(item)

Previous topic

celery.loaders.app

Next topic

celery.loaders.base

This Page