Backport of 0073f1d94f
from master
This commit is contained in:
parent
b0821e6d3a
commit
28b1317fd8
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue