Opened 12 years ago

Closed 12 years ago

#2502 closed defect (fixed)

Permalink function ignores keyword args

Reported by: adurdin@… Owned by: Adrian Holovaty
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 12 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

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

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