class documentation
class TemplatesNotFound(TemplateNotFound): (source)
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 |
Undocumented
Parameters | |
names:t.Sequence[ | Undocumented |
message:t.Optional[ | Undocumented |