Opened 10 months ago
Last modified 10 months ago
#36115 closed New feature
Add a link to navigate to the related object for ForeignKey and OneToOneField values in list_display — at Version 2
| 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.

Change History (4)
by , 10 months ago
| Attachment: | foreign_onetoone_change_page.png added |
|---|
comment:1 by , 10 months ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 months ago
| Description: | modified (diff) |
|---|
by , 10 months ago
| Attachment: | foreign_onetoone_list_add_link.png added |
|---|
Note:
See TracTickets
for help on using tickets.