jinja2.BaseLoader.load¶
-
BaseLoader.
load
(environment, name, globals=None)[source]¶ 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 asPrefixLoader
orChoiceLoader
) will not call this method but get_source directly.