1
하나의보기가있는 청사진이 있습니다. 나는 내부 청사진의 url_prefix를 얻고 싶다. 불행히도 test.url_prefix는 None을 반환합니다. 다른 방법이 있습니까?플라스크 : 청사진보기에 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 ??