Opened 7 years ago

Closed 7 years ago

#13109 closed (duplicate)

template tag ssi, doesn't resolve variable name for path

Reported by: htumblin Owned by: nobody
Component: Template system Version: 1.1
Severity: Keywords: templatetag ssi
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When attempting to use the {% ssi foo %} template tag, the documentation indicates that its similar to the {% include foo %} tag. The include tag allows one to specify the file to include as a variable or as a string. ssi does not support having a variable here.

Additionally, if in debug mode, ssi displays a message if it doesn't have permission to the file, I added the filename to this message. Helps with debugging.

I've attached my diff file. I did an svn update before I made my changes, so this diff should be pretty current against the trunk.

Thanks

/Henry

Attachments (1)

defaulttags.py-patch (794 bytes) - added by htumblin 7 years ago.
svn diff output

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by htumblin

Attachment: defaulttags.py-patch added

svn diff output

comment:1 Changed 7 years ago by Russell Keith-Magee

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

Duplicate of #9666

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