Opened 7 years ago

Closed 7 years ago

#8994 closed (duplicate)

Allow url tags to save result to context variable

Reported by: hvendelbo 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: UI/UX:

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 hvendelbo 7 years ago.
docs,comments,code
8994-2.patch (2.6 KB) - added by hvendelbo 7 years ago.
defaulttags.py changes. same as second half of the first file

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by hvendelbo

docs,comments,code

Changed 7 years ago by hvendelbo

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

comment:1 Changed 7 years ago by hvendelbo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

dupe r8716

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