Opened 8 years ago

Closed 6 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: UI/UX:


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 Changed 8 years ago by ericholscher

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 6 years ago by anonymous

  • Resolution set to worksforme
  • Status changed from new to closed

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

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