Opened 17 years ago

Closed 17 years ago

#4361 closed (fixed)

unicode-branch - _get_FIELD_display doesn't work in templates

Reported by: anonymous Owned by: Malcolm Tredinnick
Component: Internationalization Version: other branch
Severity: Keywords: unicode-branch, db
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Methods "get_field_display" don't render translated text but "django.utils.functional.proxy object". One of the possible solutions is in the attached patch.

Attachments (1)

unicode-get-display.diff (847 bytes ) - added by anonymous 17 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 17 years ago

Attachment: unicode-get-display.diff added

comment:1 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [5320]) unicode: Fixed a number of problems where lazily translated objects were not
being converted back to unicode strings correctly. Fixed #4359 and #4361.

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