Opened 16 years ago

Closed 16 years ago

#8994 closed (duplicate)

Allow url tags to save result to context variable

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

Description

When using translated blocks template tags cannot be embedded, but variables can. This change would allow

{% url about as about_url %}

Which outputs a blank string and saves the url in the context under 'about_url'

Attachments (2)

8994.patch (3.3 KB ) - added by Henrik Vendelbo 16 years ago.
docs,comments,code
8994-2.patch (2.6 KB ) - added by Henrik Vendelbo 16 years ago.
defaulttags.py changes. same as second half of the first file

Download all attachments as: .zip

Change History (3)

by Henrik Vendelbo, 16 years ago

Attachment: 8994.patch added

docs,comments,code

by Henrik Vendelbo, 16 years ago

Attachment: 8994-2.patch added

defaulttags.py changes. same as second half of the first file

comment:1 by Henrik Vendelbo, 16 years ago

Resolution: duplicate
Status: newclosed

dupe r8716

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