class ITemplateLoader(Interface): (source)
Known implementations: twisted.web.template.TagLoader, twisted.web.template.XMLFile, twisted.web.template.XMLString
A loader for templates; something usable as a value for twisted.web.template.Element's loader attribute.
| Method | load |
Load a template suitable for rendering. |
Load a template suitable for rendering.
| Returns | a list of flattenable objects, such as byte and unicode strings, twisted.web.template.Elements and IRenderable providers. (type: List[Flattenable]) | |