Loading django/template/loader_tags.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 itelf (if it evaluates to a Template object). the parent tempate itself (if it evaluates to a Template object). """ bits = token.split_contents() if len(bits) != 2: Loading Loading
django/template/loader_tags.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 itelf (if it evaluates to a Template object). the parent tempate itself (if it evaluates to a Template object). """ bits = token.split_contents() if len(bits) != 2: Loading