Opened 10 years ago

Closed 6 years ago

#2140 closed defect (fixed)

short_description in admin for get_absolute_url doesn't work due to currying

Reported by: Rudolph Froger Owned by: nobody
Component: contrib.admin Version: master
Severity: normal Keywords: nfa-changelist
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

If a method is used in 'list_display' of the Admin interface, that method should have a short_description function attribute, for use as the header for the field. This doesn't work for get_absolute_url. A work around is to call the get_absolute_url from another method and use that method in list_display, so I give it lowest priority.

Change History (6)

comment:2 Changed 10 years ago by (none)

milestone: Version 1.0

Milestone Version 1.0 deleted

comment:3 Changed 10 years ago by Simon G. <dev@…>

Summary: short_description fot get_absolute_url doesn't workshort_description in admin for get_absolute_url doesn't work due to currying
Triage Stage: UnreviewedAccepted

comment:4 Changed 9 years ago by James Bennett

#3291 is a different symptom of the same problem.

comment:5 Changed 9 years ago by jakub_vysoky

Keywords: nfa-changelist added

comment:6 Changed 6 years ago by Karen Tracey

Resolution: fixed
Status: newclosed

Fixed by r12766/r12767.

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