Opened 9 years ago

Closed 9 years ago

#2943 closed defect (fixed)

[patch] Multi-byte charcters in verbose_name are garbled in admin.

Reported by: mtsuyuki@… Owned by: adrian
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Changeset 3649 created this problem.

repr doesn't treat multi-byte charcter encoding right way.

str does fine.

So just escape double quotation and use str.

Attachments (1)

patch_to_admin_modify.diff (1.0 KB) - added by mtsuyuki@… 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by mtsuyuki@…

comment:1 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3922]) Fixed #2943 -- Changed admin select filter box to work properly with multi-byte characters in verbose_name. Thanks, mtsuyuki@…

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