select_template(template_name_list, using=None)
[source]
select_template()
is just like get_template()
, except it takes a list of template names. It tries each name in order and returns the first template that exists.
If loading a template fails, the following two exceptions, defined in django.template
, may be raised:
Please login to continue.