forked from orbit-oss/flask
add celery example
This commit is contained in:
parent
dca8cf013b
commit
3f195248dc
9 changed files with 313 additions and 0 deletions
4
examples/celery/make_celery.py
Normal file
4
examples/celery/make_celery.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
from task_app import create_app
|
||||
|
||||
flask_app = create_app()
|
||||
celery_app = flask_app.extensions["celery"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue