TemplateModule Class

Inheritance diagram of TemplateModule

class TemplateModule(template, context)

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.


__init__(template, context)


class TemplateModule

Method details

__init__(template, context)

Table Of Contents

Previous topic

TemplateExpression Class

Next topic

TemplateStream Class