Closed ShermanMorrison closed 9 years ago
I think the tutorial's connect_db() function should be updated to
sqlite3.connect(app.config['DATABASE_PATH'])
This way, the Flask server can be run from any base directory, rather than only working from the project directory.
Good call. :+1:
I think the tutorial's connect_db() function should be updated to
sqlite3.connect(app.config['DATABASE_PATH'])
This way, the Flask server can be run from any base directory, rather than only working from the project directory.