mirror of
https://github.com/django/django.git
synced 2024-11-30 15:10:46 +01:00
parent
3e20a8856b
commit
2d903929a7
@ -204,7 +204,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
Block a user