Re: [Django] #36114: Fields in list_display_links are not links if their values are whitespace. (was: when an object's __str__ consists only of whitespace, the link does not appear in admin list page.)

4 views
Skip to first unread message

Django

unread,
Jan 21, 2025, 7:15:45 AM1/21/25
to django-...@googlegroups.com
#36114: Fields in list_display_links are not links if their values are whitespace.
-------------------------------------+-------------------------------------
Reporter: Antoliny | Owner: Antoliny
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
Keywords: list_display_links, | Triage Stage: Accepted
list_display |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Antoliny):

* summary:
when an object's __str__ consists only of whitespace, the link does
not appear in admin list page.
=>
Fields in list_display_links are not links if their values are
whitespace.

--
Ticket URL: <https://code.djangoproject.com/ticket/36114#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages