#上下文推送
#1.)
def cxt_push():
app_ctx = app.app_context()
app_ctx.push()
cxt_push()
db.create_all()
#2.)
# with app.app_context():
# db.create_all()
待续
#上下文推送
#1.)
def cxt_push():
app_ctx = app.app_context()
app_ctx.push()
cxt_push()
db.create_all()
#2.)
# with app.app_context():
# db.create_all()
待续