mirror of
https://github.com/shouptech/flask-tutorial.git
synced 2026-02-03 07:29:42 +00:00
It works
This commit is contained in:
parent
8f58a85ce8
commit
8b3006f0c8
1 changed files with 3 additions and 0 deletions
|
|
@ -29,4 +29,7 @@ def create_app(test_config=None):
|
|||
def hello():
|
||||
return 'Hello, World!'
|
||||
|
||||
from . import db
|
||||
db.init_app(app)
|
||||
|
||||
return app
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue