jinja2.Template.make_module¶
-
Template.
make_module
(vars=None, shared=False, locals=None)[source]¶ This method works like the
module
attribute when called without arguments but it will evaluate the template on every call rather than caching it. It’s also possible to provide a dict which is then used as context. The arguments are the same as for thenew_context()
method.