This document is for Celery's development version, which can be significantly different from previous releases. Get old docs here: 3.1.

Celery Application.

Proxies = <Celery default:0x7fc26c772c10>

Celery application.

  • main – Name of the main module if running as __main__. This is used as a prefix for task names.
  • broker – URL of the default broker used.
  • loader – The loader class, or the name of the loader class to use. Default is
  • backend – The result store backend class, or the name of the backend class to use. Default is the value of the result_backend setting.
  • amqp – AMQP object or class name.
  • events – Events object or class name.
  • log – Log object or class name.
  • control – Control object or class name.
  • set_as_current – Make this the global current app.
  • tasks – A task registry or the name of a registry class.
  • include – List of modules every worker should import.
  • fixups – List of fixup plug-ins (see e.g. celery.fixups.django).
  • autofinalize – If set to False a RuntimeError will be raised if the task registry or tasks are used before the app is finalized.


Function returning the app provided or the default app if none.

The environment variable CELERY_TRACE_APP is used to trace app leaks. When enabled an exception is raised if there is no active app.[source][source]

Data = u'default'

The ‘default’ loader is the default loader used by old applications. This is deprecated and should no longer be used as it’s set too early to be affected by –loader argument.