elliptic.Kernel.TemplateManager module¶
-
class
elliptic.Kernel.TemplateManager.
TemplateManagerBase
(package, templates_folder)[source]¶ Bases:
object
Class for abstracting interactions with the jinja2 templating package.
Example
Creating a template manager that uses the Templates folder found inside the current package when searching for template files.
>>> class MyTemplateManager(TemplateManagerBase): >>> def __init__(self) -> None: >>> super().__init__(__package__, 'Templates')
- Parameters