Opened 14 years ago

Closed 14 years ago

#13278 closed (duplicate)

Admin: short_description for get_absolute_url don't work

Reported by: homm Owned by: nobody
Component: Contrib apps Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I have 'get_absolute_url' field in 'list_display' property of my ModelAdmin subclass.
If I define custom description for this field in model (get_absolute_url.short_description = _('Name')), it doesn't work. But if change name from 'get_absolute_url' for example to 'get_absolute_link', it works.

Change History (1)

comment:1 by Karen Tracey, 14 years ago

Resolution: duplicate
Status: newclosed

This behavior was likely due to #11891. short_description for get_absolute_url in list_display works properly on trunk after r12766 and 1.1.X branch after r12767.

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