How to get current url in Google App Engine python with jinja templating -


i'm using google app engine python jinja2 templating. there template tag url of current page. or have pass url variable template view code?

{{ request.url }} gives current url. need full url, or path relative root?

for example, using flask, can have

{{ request.url }} {{ request.base_url }} {{ request.url_root }} {{ request.host_url }} {{ request.path }} 

etc.


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

ruby - How do I merge two hashes into a hash of arrays? -