class DjangoTemplates(BaseEngine):
Undocumented
Method | __init__ |
Initialize the template engine. |
Method | from_string |
Create and return a template for the given source code. |
Method | get_template |
Load and return a template for the given name. |
Method | get_templatetag_libraries |
Return a collation of template tag libraries from installed applications and the supplied custom_libraries argument. |
Class Variable | app_dirname |
Undocumented |
Instance Variable | engine |
Undocumented |
Inherited from BaseEngine
:
Method | iter_template_filenames |
Iterate over candidate files for template_name. |
Instance Variable | app_dirs |
Undocumented |
Instance Variable | dirs |
Undocumented |
Instance Variable | name |
Undocumented |
Property | template_dirs |
Return a list of directories to search for templates. |
Initialize the template engine.
params
is a dict of configuration settings.
Create and return a template for the given source code.
This method is optional.
Load and return a template for the given name.
Raise TemplateDoesNotExist if no such template exists.