Skip to content
Myr

Merge branch 'AndrewBMartin-patch-1'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 1e857bf, 337a9d6 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:docs/patterns/celery.rst+2 added-1 removed
34 unmodified lines
3536 from celery import Celery3738 def make_celery(app):39 celery = Celery(app.import_name, broker=app.config['CELERY_BROKER_URL'])39 celery = Celery(app.import_name, backend=app.config['CELERY_BACKEND'],40 broker=app.config['CELERY_BROKER_URL'])41 celery.conf.update(app.config)42 TaskBase = celery.Task43 class ContextTask(TaskBase):44 abstract = True
49 unmodified lines