Skip to content

Commit

Permalink
Merge pull request #931 from aphexcx/patch-1
Browse files Browse the repository at this point in the history
Update celery.rst
  • Loading branch information
mitsuhiko committed Feb 8, 2014
2 parents e2264d0 + 67c165b commit e95cef6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/patterns/celery.rst
Expand Up @@ -60,12 +60,12 @@ Flask::

from flask import Flask

app = Flask(__name__)
app.config.update(
flask_app = Flask(__name__)
flask_app.config.update(
CELERY_BROKER_URL='redis://localhost:6379',
CELERY_RESULT_BACKEND='redis://localhost:6379'
)
celery = make_celery(app)
celery = make_celery(flask_app)


@celery.task()
Expand Down

0 comments on commit e95cef6

Please sign in to comment.