class documentation

class TemplatesNotFound(TemplateNotFound):

View In Hierarchy

Like TemplateNotFound but raised if multiple templates are selected. This is a subclass of TemplateNotFound exception, so just catching the base exception will catch both.

Changed in version 2.11: If a name in the list of names is Undefined, a message about it being undefined is shown rather than the empty string.
New in version 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):

Undocumented

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