Opened 17 years ago

Closed 15 years ago

#6971 closed (worksforme)

Undocumented behaviour in django.template.Template ?

Reported by: AnthonyJLucas@… Owned by: nobody
Component: Template system Version: 0.96
Severity: Keywords: undocumented, extends, Template
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When you import and run Template from django template on a string which contains the "extends" tag, it will throw a TemplateSyntaxError, "Invalid block tag: 'extends'".

Everything works fine if you also import loader from the template module. It makes sense in some ways, and it was suggested this be filed under documentation. But on second thoughts, as this seems like it may be unwanted behaviour I've put it under Template System.

Change History (2)

comment:1 by Eric Holscher, 16 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by anonymous, 15 years ago

Resolution: worksforme
Status: newclosed

Either not enough information to be reproduced, or fixed in the meantime.

Note: See TracTickets for help on using tickets.
Back to Top