wuttaweb.helpers¶
Template Context Helpers
This module serves as a collection of various things deemed useful for
all template renderers. It is made available as simply h within
the template context.
You can access anything provided by h within a template then, for
instance:
${h.link_to('python', 'https://www.python.org')}
(Note that link_to() comes from webhelpers2.html.tags.)
This module contains the following references:
all names from
webhelpers2.htmlall names from
webhelpers2.html.tags
- wuttaweb.helpers.csrf_token()¶
This is a shorthand reference to
wuttaweb.util.render_csrf_token().