Opened 8 years ago

Closed 8 years ago

#2502 closed defect (fixed)

Permalink function ignores keyword args

Reported by: adurdin@… Owned by: adrian
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Looks like a typo in permalink():

return reverse(bits[0], None, *bits[1:2])

Should surely be:

return reverse(bits[0], None, *bits[1:3])

as bits is meant to be a tuple (viewname, argslist, kwargsdict).

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3544]) Fixed #2502 -- Fixed typo in db.models.permalink function. Thanks, adurdin@…

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.