Default Loader - celery.loaders.default

class celery.loaders.default.Loader

The default loader.

See the FAQ for example usage.

import_from_cwd(module, imp=<function import_module at 0x40162a8>)

Import module, but make sure it finds modules located in the current directory.

Modules located in the current directory has precedence over modules located in sys.path.


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 in


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

exception celery.loaders.default.NotConfigured

Celery has not been configured, as no config module has been found.

class celery.loaders.default.Settings

Previous topic

Loader Base Classes - celery.loaders.base

Next topic

Task Registry - celery.registry

This Page