woom.render.WoomLoader.load#
- WoomLoader.load(environment: Environment, name: str, globals: MutableMapping[str, Any] | None = None) Template#
Loads a template. This method looks up the template in the cache or loads one by calling
get_source(). Subclasses should not override this method as loaders working on collections of other loaders (such asPrefixLoaderorChoiceLoader) will not call this method but get_source directly.