I'm using webapp2 with jinja2. I'd like to be able to use the url_for
method within my templates. At present it says that url_for is an
unknown tag. Is there an easy way to make this work? I could pre-
calculate the urls in my python code and pass them to the template,
but I have a couple of places where I want to generate url's within
loops and so it would be a lot easier to have url_for available from
within the template itself.
File "templates/base.html", line 34, in template
{% url_for logout %}
TemplateSyntaxError: Encountered unknown tag 'url_for'.
thanks
Hamish