Opened 10 years ago

Closed 10 years ago

#6166 closed (fixed)

Templates autoescape / inheritance example broken

Reported by: Purdea Andrei Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: templates autoescape
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


On the following page:

Where the issue of combining autoescape and inheritence is discussed the example is useless.

Attachments (1) (1015 bytes) - added by Pete Crosier 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by Chris Beaven

Needs documentation: set
Triage Stage: UnreviewedAccepted

Agreed. Very useless.

Needs to be changed to use context variables to show that they don't get escaped.

comment:2 Changed 10 years ago by Gary Wilson

And the block tags in base.html are missing endblocks.

comment:3 Changed 10 years ago by Pete Crosier

Has patch: set
Keywords: templates autoescape added
Needs documentation: unset
Summary: templates - autoescape - inheritanceTemplates autoescape / inheritance example broken

Changed 10 years ago by Pete Crosier

Attachment: added

comment:4 Changed 10 years ago by Pete Crosier

Patch to get the ball-rolling / so this doesn't stay broken and confuse people.

comment:5 Changed 10 years ago by James Bennett

Resolution: fixed
Status: newclosed

Fixed in [7299].

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