diff --git a/django/template/__init__.py b/django/template/__init__.py
index 5493e5b..23f4c73 100644
a
|
b
|
class Library(object):
|
937 | 937 | |
938 | 938 | if not getattr(self, 'nodelist', False): |
939 | 939 | from django.template.loader import get_template, select_template |
940 | | if not isinstance(file_name, basestring) and is_iterable(file_name): |
| 940 | if isinstance(file_name, Template): |
| 941 | t = file_name |
| 942 | elif not isinstance(file_name, basestring) and is_iterable(file_name): |
941 | 943 | t = select_template(file_name) |
942 | 944 | else: |
943 | 945 | t = get_template(file_name) |