Place to initialize DB in Flask
That's the way that I have done it in the past and the way that is advocated in the flask documentation. I would stick with it.
https://web.archive.org/web/20120825162413/http://flask.pocoo.org/docs/tutorial/dbcon/
That's the way that I have done it in the past and the way that is advocated in the flask documentation. I would stick with it.
https://web.archive.org/web/20120825162413/http://flask.pocoo.org/docs/tutorial/dbcon/