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 )
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 (5)
by , 5 weeks ago
Attachment: | foreign_onetoone_change_page.png added |
---|
comment:1 by , 5 weeks ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 5 weeks ago
Description: | modified (diff) |
---|
by , 5 weeks ago
Attachment: | foreign_onetoone_list_add_link.png added |
---|
comment:3 by , 5 weeks ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
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.