Opened 8 years ago

Closed 8 years ago

#4361 closed (fixed)

unicode-branch - _get_FIELD_display doesn't work in templates

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

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

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by anonymous

comment:1 Changed 8 years ago by mtredinnick

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

(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