Opened 9 years ago

Closed 9 years ago

#6346 closed (invalid)

url templatetag should accept args/kwargs as strings and not just variables

Reported by: sorl Owned by: nobody
Component: Template system Version: master
Severity: Keywords: url templatetag
Cc: mikko@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Is this a design decision to not allow strings as args/kwargs?
attaching diff.

Attachments (3)

url.diff (1.6 KB) - added by sorl 9 years ago.
url_patch.diff (2.2 KB) - added by sorl 9 years ago.
url_patch.2.diff (2.0 KB) - added by sorl 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by sorl

Attachment: url.diff added

comment:1 Changed 9 years ago by sorl

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

INVALID.

comment:2 Changed 9 years ago by sorl

Resolution: invalid
Status: closedreopened

Mistake, reopen

comment:3 Changed 9 years ago by sorl

Summary: url templatetag should accept ags/kwars as strings and not just variablesurl templatetag should accept args/kwargs as strings and not just variables

I'm submitting a new patch to "resolve" ticket #5140 too.

Changed 9 years ago by sorl

Attachment: url_patch.diff added

Changed 9 years ago by sorl

Attachment: url_patch.2.diff added

comment:4 Changed 9 years ago by sorl_

Resolution: invalid
Status: reopenedclosed

use double not single quoted strings.

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