Opened 10 years ago

Closed 10 years ago

#24593 closed Bug (fixed)

Thousand separator not showing in ModelAdmin.readonly_fields

Reported by: liwee Owned by: Eric
Component: contrib.admin Version: 1.7
Severity: Normal Keywords: Thousand separator readonly
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I added the following to my form. Thousand separator appears in a normal integer field but missing from a readonly field.

    class Meta:
        localized_fields = ('__all__')

Attachments (1)

1.PNG (1.0 KB ) - added by liwee 10 years ago.

Download all attachments as: .zip

Change History (4)

by liwee, 10 years ago

Attachment: 1.PNG added

comment:1 by Tim Graham, 10 years ago

Component: Uncategorizedcontrib.admin
Summary: Thousand separator not showing in readonly fieldsThousand separator not showing in ModelAdmin.readonly_fields
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

I could reproduce this.

comment:2 by Eric, 10 years ago

Owner: changed from nobody to Eric
Status: newassigned

comment:3 by Simon Charette <charette.s@…>, 10 years ago

Resolution: fixed
Status: assignedclosed

In d72e017:

Fixed #24593 -- Fixed number formatting of readonly IntegerFields in the admin.

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