Opened 18 years ago
Closed 18 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)
Change History (2)
by , 18 years ago
Attachment: | unicode-get-display.diff added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(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.