Ticket #6950: loader.patch
| File loader.patch, 0.6 kB (added by bear330, 3 months ago) |
|---|
-
loader.py
old new 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('.')
