done: Define and Access the Database

This commit is contained in:
Heiko Ludwig 2025-08-11 11:09:44 +02:00
parent 2c204037a1
commit e1bf3d159e
3 changed files with 69 additions and 0 deletions

View file

@ -31,4 +31,7 @@ def create_app(test_config=None):
def hello():
return 'Hello, World!'
from . import db
db.init_app(app)
return app