Browse Source

Use the correct Celery result backend setting

pull/1888/head
sanderl-mediamonks 9 years ago committed by Adrian
parent
commit
3313b8b0a4
  1. 2
      docs/patterns/celery.rst

2
docs/patterns/celery.rst

@ -36,7 +36,7 @@ This is all that is necessary to properly integrate Celery with Flask::
from celery import Celery
def make_celery(app):
celery = Celery(app.import_name, backend=app.config['CELERY_BACKEND'],
celery = Celery(app.import_name, backend=app.config['CELERY_RESULT_BACKEND'],
broker=app.config['CELERY_BROKER_URL'])
celery.conf.update(app.config)
TaskBase = celery.Task

Loading…
Cancel
Save