jinja2.FileSystemLoader.load¶
-
FileSystemLoader.
load
(environment, name, globals=None)¶ 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.