jinja2.exceptions.TemplatesNotFound¶
-
exception
jinja2.exceptions.TemplatesNotFound(names=(), message=None)[source]¶ Like
TemplateNotFoundbut raised if multiple templates are selected. This is a subclass ofTemplateNotFoundexception, so just catching the base exception will catch both.New in version 2.2.