Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
@app.route('/this/is/the/url') def some_exposed_func(): return render_template("data.html")
如何从some_exposed_func句柄中获取“/this/is/the/url”?
print 'The func URL is: %s' % get_flask_route_url(some_exposed_func)
找到我自己:url_for()就是答案