Changeset 7563
- Timestamp:
- 05/29/08 07:40:25 (6 months ago)
- Files:
-
- django/trunk/django/template/loader.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/template/loader.py
r5511 r7563 47 47 global template_source_loaders 48 48 if template_source_loaders is None: 49 template_source_loaders = []49 loaders = [] 50 50 for path in settings.TEMPLATE_LOADERS: 51 51 i = path.rfind('.') … … 63 63 warnings.warn("Your TEMPLATE_LOADERS setting includes %r, but your Python installation doesn't support that type of template loading. Consider removing that line from TEMPLATE_LOADERS." % path) 64 64 else: 65 template_source_loaders.append(func) 65 loaders.append(func) 66 template_source_loaders = tuple(loaders) 66 67 for loader in template_source_loaders: 67 68 try:
