MCPcopy
hub / github.com/pallets/werkzeug / render_template

Function render_template

examples/shorty/utils.py:55–58  ·  view source on GitHub ↗
(template, **context)

Source from the content-addressed store, hash-verified

53
54
55def render_template(template, **context):
56 return Response(
57 jinja_env.get_template(template).render(**context), mimetype="text/html"
58 )
59
60
61def validate_url(url):

Callers 4

newFunction · 0.70
displayFunction · 0.70
listFunction · 0.70
not_foundFunction · 0.70

Calls 2

ResponseClass · 0.90
renderMethod · 0.80

Tested by

no test coverage detected