Opened 3 hours ago
Last modified 3 hours ago
#36115 assigned New feature
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 )
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)
Change History (4)
by , 3 hours ago
Attachment: | foreign_onetoone_change_page.png added |
---|
comment:1 by , 3 hours ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 3 hours ago
Description: | modified (diff) |
---|
by , 3 hours ago
Attachment: | foreign_onetoone_list_add_link.png added |
---|
Note:
See TracTickets
for help on using tickets.