0
不通过user_name
到other_function
作为参数,我将如何访问user_name
?在调用函数外部访问Flask参数
@app.route('/profile/<user_name>/')
def profile(user_name):
other_function()
# do more stuff
def other_function():
print request.args