Opened 18 years ago

Closed 15 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: dev
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 by (none), 18 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

comment:3 by Simon G. <dev@…>, 18 years ago

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 by James Bennett, 17 years ago

#3291 is a different symptom of the same problem.

comment:5 by jakub_vysoky, 17 years ago

Keywords: nfa-changelist added

comment:6 by Karen Tracey, 15 years ago

Resolution: fixed
Status: newclosed

Fixed by r12766/r12767.

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