Opened 9 years ago

Closed 9 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).

Change History (1)

comment:1 Changed 9 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@…

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