mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #21460 -- Reenabled proper template precedence in find_template
Refs #20806. Thanks Unai Zalakain for the review.
This commit is contained in:
		
				
					committed by
					
						 Claude Paroz
						Claude Paroz
					
				
			
			
				
	
			
			
			
						parent
						
							d6cc37d601
						
					
				
				
					commit
					3ac823fc5b
				
			| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user