還記得flask中的current_app嗎,這個current_app返回的就是該藍圖註冊所在的flask實例。 # /flask_project/app/views.py from flask import current_app ...
確定! 回上一頁