class documentation

class DjangoTemplates(BaseEngine): (source)

View In Hierarchy

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.
def __init__(self, params): (source)

Initialize the template engine. `params` is a dict of configuration settings.

def from_string(self, template_code): (source)

Create and return a template for the given source code. This method is optional.

def get_template(self, template_name): (source)

Load and return a template for the given name. Raise TemplateDoesNotExist if no such template exists.

def get_templatetag_libraries(self, custom_libraries): (source)

Return a collation of template tag libraries from installed applications and the supplied custom_libraries argument.

Undocumented