load_template(template_name, template_dirs=None)
[source]
Returns a tuple of (template
, template_origin
), where template
is a Template
object and template_origin
is a string identifying the template source. A filesystem-based loader may return the full path to the file as the template_origin
, for example.
Deprecated since version 1.9: Custom loaders should use get_template()
and get_contents()
instead.
Please login to continue.