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

Public Member Functions

def __init__ (self, template, context, body_stream=None)
 
def __html__ (self)
 
def __str__ (self)
 
def __repr__ (self)
 

Detailed Description

Represents an imported template.  All the exported names of the
template are available as attributes on this object.  Additionally
converting it into an unicode- or bytestrings renders the contents.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  template,
  context,
  body_stream = None 
)

Member Function Documentation

◆ __html__()

def __html__ (   self)

◆ __repr__()

def __repr__ (   self)

◆ __str__()

def __str__ (   self)

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