mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Backport of 0073f1d94f from master
			
			
This commit is contained in:
		| @@ -206,7 +206,7 @@ def do_extends(parser, token): | ||||
|     uses the literal value "base" as the name of the parent template to extend, | ||||
|     or ``{% extends variable %}`` uses the value of ``variable`` as either the | ||||
|     name of the parent template to extend (if it evaluates to a string) or as | ||||
|     the parent tempate itself (if it evaluates to a Template object). | ||||
|     the parent template itself (if it evaluates to a Template object). | ||||
|     """ | ||||
|     bits = token.split_contents() | ||||
|     if len(bits) != 2: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user