Reputation: 131
@app.route('/this/is/the/url')
def some_exposed_func():
return render_template("data.html")
How to get '/this/is/the/url' from some_exposed_func handle?
print 'The func URL is: %s' % get_flask_route_url(some_exposed_func)
Upvotes: 2
Views: 1941