Opened 8 years ago
Closed 8 years 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 by , 8 years ago
comment:2 by , 8 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|---|
| Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
PR against master https://github.com/django/django/pull/9530