Opened 11 years ago

Closed 11 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: UI/UX:


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

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by anonymous

Attachment: unicode-get-display.diff added

comment:1 Changed 11 years ago by Malcolm Tredinnick

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