static_templates.renderer¶
- class static_templates.renderer.Renderer(configuration, stdout=None)[source]¶
Bases:
object
Renderer is used to convert a template into a static file.
- __init__(configuration, stdout=None)[source]¶
The init function takes a row from settings.STATIC_TEMPLATES. By default, the users are required to provide a two-item tuple with the template name and the static file path.