[Django] #36063: When a field with a link is set in list_display_links(FileField, ImageField), it does not navigate to the detail page.

16 views
Skip to first unread message

Django

unread,
Jan 4, 2025, 8:11:19 AM1/4/25
to django-...@googlegroups.com
#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.

Django

unread,
Jan 4, 2025, 8:11:58 AM1/4/25
to django-...@googlegroups.com
#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 | Owner: Antoliny
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
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
-------------------------------------+-------------------------------------
Changes (by Antoliny):

* owner: (none) => Antoliny
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36063#comment:1>

Django

unread,
Jan 4, 2025, 8:14:18 AM1/4/25
to django-...@googlegroups.com
#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 | Owner: Antoliny
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
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
-------------------------------------+-------------------------------------
Changes (by Antoliny):

* Attachment "file_field_display_err.png" added.

Django

unread,
Jan 4, 2025, 8:16:28 AM1/4/25
to django-...@googlegroups.com
#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 | Owner: Antoliny
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
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
-------------------------------------+-------------------------------------
Changes (by Antoliny):

* Attachment "file_field_display_err(2).png" added.

Django

unread,
Jan 5, 2025, 5:06:22 AM1/5/25
to django-...@googlegroups.com
#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 | Owner: Antoliny
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
Keywords: items_for_result, | Triage Stage:
ImageField, FileField | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Antoliny):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36063#comment:2>

Django

unread,
Jan 5, 2025, 5:07:33 AM1/5/25
to django-...@googlegroups.com
#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 | Owner: Antoliny
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
Keywords: items_for_result, | Triage Stage:
ImageField, FileField | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Antoliny):

[https://github.com/django/django/pull/19002 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/36063#comment:3>
Reply all
Reply to author
Forward
0 new messages