Ticket #6950: loader.patch
File loader.patch, 595 bytes (added by , 17 years ago) |
---|
-
loader.py
45 45 # because putting this logic in the module-level namespace may cause 46 46 # circular import errors. See Django ticket #1292. 47 47 global template_source_loaders 48 if template_source_loaders is None :48 if template_source_loaders is None or len(template_source_loaders) != settings.TEMPLATE_LOADERS: 49 49 template_source_loaders = [] 50 50 for path in settings.TEMPLATE_LOADERS: 51 51 i = path.rfind('.')