Opened 13 days ago

Closed 12 days ago

#28986 closed Bug (fixed)

Admin should not format booleans as T,rue/Fa,lse even if boolean=False

Reported by: Jonas Haag Owned by: nobody
Component: contrib.admin Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Reproduce: Have a property that returns True/False in a model and add it to list_display without having set .boolean = True on the property. If USE_THOUSAND_SEPARATOR is true, admin formats the booleans to T,rue/Fa,lse.

Applies to 1.11, 2.0, master (possible earlier versions as well).

Change History (3)

comment:1 Changed 13 days ago by Jonas Haag

comment:2 Changed 13 days ago by Tim Graham

Triage Stage: UnreviewedReady for checkin
Type: UncategorizedBug

comment:3 Changed 12 days ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 602481d0:

Fixed #28986 -- Prevented boolean values in admin list display from being formatted with thousand separators.

Note: See TracTickets for help on using tickets.
Back to Top