I totally misunderstood url_for's API, I was expecting url_for('some_route', foo='bar') to return 'http://testserver/my_route/?foo=bar'.
I understand why that is now, but what is the best way to generate urls like this?
(for pagination in a rest list api in this case).
Could url_for grow support for query parameters in addition to path parameters?
I totally misunderstood
url_for's API, I was expectingurl_for('some_route', foo='bar')to return'http://testserver/my_route/?foo=bar'.I understand why that is now, but what is the best way to generate urls like this?
(for pagination in a rest list api in this case).
Could
url_forgrow support for query parameters in addition to path parameters?