Code

Opened 7 years ago

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

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by anonymous

comment:1 Changed 7 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.