﻿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
35562	get_FOO_display() method gives choice instead of choice.label for unbound (not saved) model instances with enumeration choices	Gerben Morsink	nobody	"{{{
class FooChoices(models.TextChoices):
    BAR = 'BAR', 'bar_with_drinks'

foo = Foo(bar=FooChoices.BAR)

foo.get_bar_display() -> I expect it to return 'bar_with_drinks' (=FooChoices.BAR.label), but it returns a 'FooChoices.BAR' object. 
}}}

This is opposed to when I get Foo out of the database, because then foo.get_bar_display() will return the FooChoices.BAR.label."	Bug	new	Database layer (models, ORM)	4.2	Normal				Unreviewed	0	0	0	0	0	0
