jinja2.ModuleLoader.list_templates

ModuleLoader.list_templates()

Iterates over all templates. If the loader does not support that it should raise a TypeError which is the default behavior.