This document describes Celery 2.4. For development docs, go here.

celery.loaders.default

celery.loaders.default

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

copyright:
  1. 2009 - 2011 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)