A Template-object can't be used in a list with template names.

The error occurred with a django.template.response.SimpleTemplateResponse instance. This class can be instantiated with a Template object and this is saved into the variable template_name.

Later, during the rendering process, the function resolve_template gets called to determine the Template for the rendering. For a list or tuple the function loader.select_template is called and this function only works with list elements of the type six.string_types.