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)
Change History (3)
by , 16 years ago
Attachment: | 8994.patch added |
---|
by , 16 years ago
Attachment: | 8994-2.patch added |
---|
defaulttags.py changes. same as second half of the first file
Note:
See TracTickets
for help on using tickets.
docs,comments,code