Opened 9 years ago

Closed 5 years ago

#2140 closed defect (fixed)

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

Reported by: Rudolph 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 9 years ago by anonymous

  • milestone Version 1.0 deleted

Milestone Version 1.0 deleted

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

  • Summary changed from short_description fot get_absolute_url doesn't work to short_description in admin for get_absolute_url doesn't work due to currying
  • Triage Stage changed from Unreviewed to Accepted

comment:4 Changed 8 years ago by ubernostrum

#3291 is a different symptom of the same problem.

comment:5 Changed 7 years ago by jakub_vysoky

  • Keywords nfa-changelist added

comment:6 Changed 5 years ago by kmtracey

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

Fixed by r12766/r12767.

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