python - how to get the url of the current page in a GAE template -
In Google App Engine, there is a tag or other mechanism to get the URL of the current page in a template or what Required to pass in the template from Python code as Python?
It depends on how you are popularizing templates if you are using them outside the demo , You have to fill them with the URL itself. If you are using them in Dijono with the default configuration, then you have to fill them with the URL itself. An alternative that lets you avoid populizing yourself, it's called DNAgogo Configure the corner. Contex. Processors are described on the project processor and then use the appropriate portion of the requested object directly (eg request.path).
Comments
Post a Comment