Flask - how to get query string parameters into the route parameters
问题 Im very much new to Flask, and one of the starting requirements is that i need SEO friendly urls. I have a route, say @app.route('/sales/') @app.route(/sales/<address>) def get_sales(addr): # do some magic here # render template of sales and a simple GET form that submits an address. <form action={{ url_for('get_sales') }}> <input type='text' name='address'> <input type=submit> </form> On form submission, the request goes to /sales/?address=somevalue and not to the standard route. What