Opened 4 hours ago

Last modified 4 hours ago

#36032 assigned New feature

Apply a link to the URLField value on the admin app index page.

Reported by: Antoliny Owned by: Antoliny
Component: contrib.admin Version: 5.1
Severity: Normal Keywords: URLField, list_display
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 Antoliny)

When adding a URLField through ModelAdmin list_display in the app index page's , the value is displayed as plain text instead of a link, which was not expected.

It would be better if the URLField value is displayed as a link when shown through list_display in the ModelAdmin.

On the change page, the URLField value is displayed as a link.

Attachments (2)

Screenshot 2024-12-21 at 9.14.53 PM.png (29.9 KB ) - added by Antoliny 4 hours ago.
Screenshot 2024-12-21 at 9.21.12 PM.png (26.2 KB ) - added by Antoliny 4 hours ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Antoliny, 4 hours ago

Owner: set to Antoliny
Status: newassigned

comment:2 by Antoliny, 4 hours ago

Description: modified (diff)

comment:3 by Antoliny, 4 hours ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top