Skip to content
Myr

Update celery.rst

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

small typo

authored by Hugo Montenegro · committed by GitHub · parent 63893a4 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/celery.rst+1 added-1 removed
62 unmodified lines
63---------------6465Let's write a task that adds two numbers together and returns the result. We66configure Celery's broker and backend to use Redis, create a ``celery``67application using the factor from above, and then use it to define the task. ::67application using the factory from above, and then use it to define the task. ::6869 from flask import Flask7071 flask_app = Flask(__name__)
30 unmodified lines