@@ -21,6 +21,9 @@ def create_app(test_config=None):
@app.route('/hello')
def hello():
return 'Hello, World!'
+
+ from . import db
+ db.init_app(app)
return app