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

c++ - Do gcc's __float128 floating point numbers take the current rounding mode into account? -

java - the value of local variable is not used -