#36063: When a field with a link is set in list_display_links(FileField,
ImageField), it does not navigate to the detail page.
-------------------------------------+-------------------------------------
Reporter: Antoliny | Type: Bug
Status: new | Component:
| contrib.admin
Version: 5.1 | Severity: Normal
Keywords: items_for_result, | Triage Stage:
ImageField, FileField | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
When fields with links, such as FileField and ImageField, are set in the
list_display_links in Django's admin app list page, they do not navigate
to the detail page of the corresponding object.
{{{
class StockAdmin(ModelAdmin):
list_display_links = ("file_field",)
list_display = (
"email_field",
"file_field",
"image_field",
)
}}}
[[Image(file_field_display_err.png)]]
--
Ticket URL: <
https://code.djangoproject.com/ticket/36063>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.