Opened 16 years ago

Closed 16 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: dev
Severity: Keywords: url templatetag
Cc: mikko@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 16 years ago.
url_patch.diff (2.2 KB ) - added by sorl 16 years ago.
url_patch.2.diff (2.0 KB ) - added by sorl 16 years ago.

Download all attachments as: .zip

Change History (7)

by sorl, 16 years ago

Attachment: url.diff added

comment:1 by sorl, 16 years ago

Resolution: invalid
Status: newclosed

INVALID.

comment:2 by sorl, 16 years ago

Resolution: invalid
Status: closedreopened

Mistake, reopen

comment:3 by sorl, 16 years ago

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.

by sorl, 16 years ago

Attachment: url_patch.diff added

by sorl, 16 years ago

Attachment: url_patch.2.diff added

comment:4 by sorl_, 16 years ago

Resolution: invalid
Status: reopenedclosed

use double not single quoted strings.

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