Fields in list_display_links should always navigate to the object "change" page
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",
)

Change History
(10)
Owner: |
set to Antoliny
|
Status: |
new → assigned
|
Summary: |
When a field with a link is set in list_display_links(FileField, ImageField), it does not navigate to the detail page. → Fields in list_display_links should always navigate to the object "change" page
|
Triage Stage: |
Unreviewed → Accepted
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR