Template.make_module#
- Template.make_module(vars=None, shared=False, locals=None)#
This method works like the
moduleattribute 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.