1
0
mirror of https://github.com/django/django.git synced 2025-10-28 08:06:09 +00:00

Fixed #21460 -- Reenabled proper template precedence in find_template

Refs #20806. Thanks Unai Zalakain for the review.
This commit is contained in:
Pablo Martín
2013-11-19 17:49:16 +01:00
committed by Claude Paroz
parent d6cc37d601
commit 3ac823fc5b
5 changed files with 34 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ class Loader(BaseLoader):
pass
else:
result = (template, make_origin(display_name, loader, name, dirs))
break
self.find_template_cache[key] = result
if result:
return result