def resolve_template(self, template):
        if isinstance(template, (list, tuple)):
            return loader.select_template(template)
        elif isinstance(template, basestring):
            return loader.get_template(template)
        else:
            return template
Accepts a template object, path-to-template or list of paths
dataset/ETHPy150Open adieu/django-nonrel/django/template/response.py/SimpleTemplateResponse.resolve_template