Re: [pylons-discuss] route_url() to generate a URL with …/#/… (for Javascript)

2018-03-06 Thread Michael Merickel
Pyramid only generates urls in the format ://://?#. Your proposed scheme is attempting to marshal all of the data through the anchor. The general idea of such a url that puts the query string in the anchor is to hide that data from the server (anchors are not sent along with requests, they are

[pylons-discuss] route_url() to generate a URL with …/#/… (for Javascript)

2018-03-06 Thread jens . troeger
Hi, Using request.route_url() I’m trying to generate a URL of the form: _app_url/#/foo?arg=bla Using a route="/#/foo" escaped the hash, and so did "/{hash_}/foo", and that's according to the change comment