Use flask.current_app in place of app in the blueprint view.,··· from flask import current_app as app ··· use this, we cam import app.
確定! 回上一頁