Opened 12 years ago

Closed 11 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 12 years ago.

Download all attachments as: .zip

Change History (4)

by liwee, 12 years ago

Attachment: 1.PNG​ added

comment:1 by Tim Graham, 12 years ago

Component: Uncategorized → contrib.admin
Summary: Thousand separator not showing in readonly fields → Thousand separator not showing in ModelAdmin.readonly_fields
Triage Stage: Unreviewed → Accepted
Type: Uncategorized → Bug

I could reproduce this.

comment:2 by Eric, 11 years ago

Owner: changed from nobody to Eric
Status: new → assigned

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

Resolution: → fixed
Status: assigned → closed

In d72e017:

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

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