1
私は1つのビューで青写真を持っています。私は、内部の青写真のurl_prefixを取得したいと思います。残念ながら、test.url_prefixはNoneを返します。他の方法はありますか?Flask:ビューで青写真のurl_prefixを取得する
app.register_blueprint(test_blueprint, url_prefix = "/test")
@test.route("/task", methods=["GET"])
def task_view(user):
task_url = test.url_prefix + "/task" # test.url_prefix is None ??