djblets.extensions.loaders
Template loaders for extensions.
-
class Loader(engine)[source]
Loads templates found within an extension.
This will look through all enabled extensions and attempt to fetch
the named template under the templates
directory within the
extension’s package.
This should be added last to the list of template loaders.
-
load_template_source(template_name, template_dirs=None)[source]
Load templates from enabled extensions.