#21605 closed Bug (worksforme)
cached_property can't be used in ModelAdmin.list_display
Description ¶
I have a Model with a cached_property
, but if I try to use it with the ModelAdmin.list_display
I get an ImproperlyConfigured
Exception.
I think that if list_display
supports properties it should support cached_properties too.
Change History (2)
comment:1 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 11 years ago
Indeed, this was fixed in b88abd684041ffa66bfe445e1ac26164e803d488 as a fix for #19872.
Note:
See TracTickets
for help on using tickets.
I cannot find right now the commit which fixed this, but this is working for me on Django 1.6.