﻿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
32792	admin.display decorator boolean flag not working with @property	Ronny Vedrilla	nobody	"Hi guys,

I really hope that I'm not missing anything.

I have a model with a boolean property I'd like to show in my admin list view:

{{{

class MyModel(models.Model):
    ....

    @property
    @admin.display(description=_('Is external'), boolean=True)
    def is_external(self):
        return bool(self.requested_external)
}}}

My admin column shows True and False strings instead of the green and red icons.

When I remove the property decorator, it works as expected.

I double-checked the docs but couldn't find any note about not using it with properties.

Thanks!"	Bug	closed	contrib.admin	3.2	Normal	duplicate		pope1ni	Unreviewed	0	0	0	0	0	0
