#36080: Add a link to navigate to the object through str in the inline form.
-------------------------------+--------------------------------------
Reporter: Antoliny | Owner: Antoliny
Type: New feature | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: invalid
Keywords: Inline, Link | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Antoliny):
Ah, this functionality is already provided through the show_change_link
attribute! However, when show_change_link is applied, the icon image
appears slightly cropped in TabularInline. Also, the Change and View text
is applied depending on the user's permissions, but the permission-related
details are already exposed in the form.
[[Image(tabular_inline_link.png)]]
Therefore, what do you think about simply adding the link to the object's
__str__ and change the default value of the show_change_link to True?
(This includes StackedInline as well.) I think this approach would be
cleaner, more intuitive, and would enhance accessibility without losing
any clarity.
[[Image(link_change_2.png)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/36080#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019458629018-fac7376b-ddd8-4656-8cdd-98e3566c8716-000000%40eu-central-1.amazonses.com.