Update celery.rst
Before adoption: this commit came in with the history the project adopted, so no landing records it.
With the latest version of Celery (3.1.6), following this tutorial produces the following error when attempting to start the celery worker: user_preload = tuple(self.app.user_options['preload'] or ()) AttributeError: 'Flask' object has no attribute 'user_options' Using `app` as the variable name here confuses celery. Renaming `app` to `flask_app` in the tutorial solves the issue and allows the celery worker to start successfully.
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