detroitcoder / flask-celery-template

A besic template for creating a Flask frontend to Celery
1 stars 0 forks source link

Application Context #1

Open robertcatgithub opened 10 years ago

robertcatgithub commented 10 years ago

In this template the application context is not used for Flask

Hi. Why did you comment out the App Context code ?

Also it hot error in "get_additions"

detroitcoder commented 10 years ago

As far as I can tell, application_context only seems to be used when there are multiple flask applications used in your flask process. Because I only use one flask app per process and I did not want to add it for simplicity.

What error did you get with the get_additions?