Re: [Django] #36926: Admin list_display does not use boolean icons when traversing relations

4 views
Skip to first unread message

Django

unread,
Feb 25, 2026, 11:13:41 AMFeb 25
to django-...@googlegroups.com
#36926: Admin list_display does not use boolean icons when traversing relations
--------------------------------------+------------------------------------
Reporter: Michael Nagler | Owner: Huwaiza
Type: Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36926#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 17, 2026, 3:26:03 PM (yesterday) Mar 17
to django-...@googlegroups.com
#36926: Admin list_display does not use boolean icons when traversing relations
-------------------------------------+-------------------------------------
Reporter: Michael Nagler | Owner: Huwaiza
Type: | Status: assigned
Cleanup/optimization |
Component: contrib.admin | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36926#comment:10>

Django

unread,
8:23 AM (8 hours ago) 8:23 AM
to django-...@googlegroups.com
#36926: Admin list_display does not use boolean icons when traversing relations
-------------------------------------+-------------------------------------
Reporter: Michael Nagler | Owner: Huwaiza
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: 6.0
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"4b2b4bf0ac2707dc9c4d51cabfa72168eaea95fe" 4b2b4bf0]:
{{{#!CommitTicketReference repository=""
revision="4b2b4bf0ac2707dc9c4d51cabfa72168eaea95fe"
Fixed #36926 -- Made admin use boolean icons for related BooleanFields in
list_display.

When using related field lookups like 'parent__is_active' in list_display,
the admin now correctly detects if the final field is a BooleanField and
displays boolean icons instead of 'True'/'False' text.

Modified lookup_field() in django/contrib/admin/utils.py to retrieve the
final field from the path when traversing relations using LOOKUP_SEP (__),
allowing display_for_field() to properly handle BooleanFields.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36926#comment:11>
Reply all
Reply to author
Forward
0 new messages