OpenQuizz
Une application de gestion des contenus pédagogiques
TemplatesNotFound Class Reference
Inheritance diagram for TemplatesNotFound:
Collaboration diagram for TemplatesNotFound:

Public Member Functions

def __init__ (self, names=(), message=None)
 
- Public Member Functions inherited from TemplateNotFound
def __str__ (self)
 
- Public Member Functions inherited from TemplateError
def __init__ (self, message=None)
 
def message (self)
 
def __unicode__ (self)
 
def __init__ (self, message=None)
 
def message (self)
 

Data Fields

 templates
 
- Data Fields inherited from TemplateNotFound
 name
 
 templates
 

Additional Inherited Members

- Static Public Attributes inherited from TemplateNotFound
 message
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  names = (),
  message = None 
)

Reimplemented from TemplateNotFound.

Field Documentation

◆ templates

templates

The documentation for this class was generated from the following file: