misleading sample correction

This commit is contained in:
Jake Wang 2022-10-10 03:23:19 -04:00
parent 3dc6db9d0c
commit 39518ba9ce

View file

@ -176,6 +176,7 @@ the end of the factory function before returning the app.
app = ...
# existing code omitted
# do not copy create_app function again, only add following
from . import db
db.init_app(app)