Ticket #17303: patch.diff
File patch.diff, 722 bytes (added by , 13 years ago) |
---|
-
django/template/loaders/cached.py
19 19 def loaders(self): 20 20 # Resolve loaders on demand to avoid circular imports 21 21 if not self._cached_loaders: 22 cached_loaders = [] 22 23 for loader in self._loaders: 23 self._cached_loaders.append(find_template_loader(loader)) 24 cached_loaders.append(find_template_loader(loader)) 25 self._cached_loaders = cached_loaders 24 26 return self._cached_loaders 25 27 26 28 def find_template(self, name, dirs=None):