jinja2.loaders

jinja2.loaders

Jinja loader classes.

copyright:
  1. 2010 by the Jinja Team.
license:

BSD, see LICENSE for more details.

Classes

BaseLoader Baseclass for all loaders.
ChoiceLoader This loader works like the PrefixLoader just that no prefix is
DictLoader Loads a template from a python dict.
FileSystemLoader Loads templates from the file system.
FunctionLoader A loader that is passed a function which does the loading.
ModuleLoader This loader loads templates from precompiled templates.
PackageLoader Load templates from python eggs or packages.
PrefixLoader A loader that is passed a dict of loaders where each loader is bound to a prefix.

Exceptions

TemplateNotFound(name[, message]) Raised if a template does not exist.

Functions

sha1 Returns a sha1 hash object; optionally initialized with a string
split_template_path(template) Split a path into segments and perform a sanity check.

Defined

  • LRUCache
  • ModuleType
  • internalcode
  • open_if_exists
  • os
  • path
  • sys
  • weakref

Table Of Contents

Previous topic

next

Next topic

BaseLoader Class