id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 12331 get_display shows choices key, not value if field name contains underscore symbol anonymous nobody "{{{ CURRENCY_CHOICES = ( (u""USD"", u""$""), (u""EUR"", u""€""), ) buyer_currency = models.CharField(u""Price"", choices = CURRENCY_CHOICES, max_length=3, default='USD') template: {{user.userprofile.get_buyer_currency_display|safe}} shows ""USD"" after rebuilding model with no underscore it works as it should: {{user.userprofile.get_buyercurrency_display|safe}} shows ""$"" }}} " closed Template system dev worksforme choices, get_display Unreviewed 0 0 0 0 0 0