Code

Opened 6 years ago

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

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by sorl

comment:1 Changed 6 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 6 years ago by sorl

  • Resolution invalid deleted
  • Status changed from closed to reopened

Mistake, reopen

comment:3 Changed 6 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 6 years ago by sorl

Changed 6 years ago by sorl

comment:4 Changed 6 years ago by sorl_

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

use double not single quoted strings.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.