Opened 7 years ago

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

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by sorl

comment:1 Changed 7 years ago by sorl

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

INVALID.

comment:2 Changed 7 years ago by sorl

  • Resolution invalid deleted
  • Status changed from closed to reopened

Mistake, reopen

comment:3 Changed 7 years ago by sorl

  • Summary changed from url templatetag should accept ags/kwars as strings and not just variables to url templatetag should accept args/kwargs as strings and not just variables

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

Changed 7 years ago by sorl

Changed 7 years ago by sorl

comment:4 Changed 7 years ago by sorl_

  • Resolution set to invalid
  • Status changed from reopened to closed

use double not single quoted strings.

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