Hi I am using jinja2 with google app engine and wondering if it is possible to display the url link in the browser after jinja renders the page.
For example, if my browser goes to a url, http://www.test.com/login, my server script will receive the GET request and send login.html via jinja back to the browser. However, the link on my browser will still display only http://www.test.com/login and not http://www.test.com/login/login.html
Is it possible to do this?
There is no connection between the file that you use for rendering and the current url path that your handler handles.
The content is passes thru a stream and you can put what ever you want in the stream, it can be content rendered from a template or any data that you will write to stream.
you can write a handler that will receive that template name as a parameter and render it, this will give you the url with the template file name.