Skip to content
Myr

Merge pull request #931 from aphexcx/patch-1

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

Update celery.rst

authored by Armin Ronacher · committed by Armin Ronacher · parents e2264d0, 67c165b · Browse files · 1 file+3 added−3 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+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/patterns/celery.rst+3 added-3 removed
58 unmodified lines
59Flask::6061 from flask import Flask6263 app = Flask(__name__)64 app.config.update(63 flask_app = Flask(__name__)64 flask_app.config.update(65 CELERY_BROKER_URL='redis://localhost:6379',66 CELERY_RESULT_BACKEND='redis://localhost:6379'67 )68 celery = make_celery(app)68 celery = make_celery(flask_app)697071 @celery.task()72 def add_together(a, b):
20 unmodified lines