class documentation

class TemplatesNotFound(TemplateNotFound): (source)

View In Hierarchy

Like :class:`TemplateNotFound` but raised if multiple templates are selected. This is a subclass of :class:`TemplateNotFound` exception, so just catching the base exception will catch both. .. versionchanged:: 2.11 If a name in the list of names is :class:`Undefined`, a message about it being undefined is shown rather than the empty string. .. versionadded:: 2.2

Method __init__ Undocumented
Instance Variable templates Undocumented

Inherited from TemplateNotFound:

Method __str__ Undocumented
Instance Variable message Undocumented
Instance Variable name Undocumented
def __init__(self, names=(), message=None): (source)

Undocumented

Parameters
names:t.Sequence[t.Union[str, Undefined]]Undocumented
message:t.Optional[str]Undocumented