Opened 5 weeks ago

Closed 5 weeks ago

#36115 closed New feature (wontfix)

Add a link to navigate to the related object for ForeignKey and OneToOneField values in list_display

Reported by: Antoliny Owned by: Antoliny
Component: contrib.admin Version: 5.1
Severity: Normal Keywords: list_display, foreignkey, onetoonefield
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Antoliny)

Currently, admin list view displays ForeignKey and OneToOneField values as plain text.
However, in the change page, admin provides icons for ForeignKey and OneToOneField that allow additional operations on the corresponding objects and models.

How about adding links for ForeignKey and OneToOneField in the list page?
I think provide to navigation to the related object by clicking the link, it would be better in terms of accessibility.

Attachments (2)

foreign_onetoone_change_page.png (50.9 KB ) - added by Antoliny 5 weeks ago.
foreign_onetoone_list_add_link.png (40.2 KB ) - added by Antoliny 5 weeks ago.

Download all attachments as: .zip

Change History (5)

by Antoliny, 5 weeks ago

comment:1 by Antoliny, 5 weeks ago

Owner: set to Antoliny
Status: newassigned

comment:2 by Antoliny, 5 weeks ago

Description: modified (diff)

by Antoliny, 5 weeks ago

comment:3 by Tim Graham, 5 weeks ago

Resolution: wontfix
Status: assignedclosed

Thanks for the idea, however, we cannot endlessly complicate the admin with additional features. In this case, I feel that for most cases, the links would add more clutter than the benefit they might provide.

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