1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #31558 -- Added support for boolean attribute on properties in ModelAdmin.list_display.

This commit is contained in:
Ryanwalker277
2023-09-14 17:40:20 +05:30
committed by Mariusz Felisiak
parent 2f1ab16be5
commit 225328efd9
7 changed files with 29 additions and 0 deletions

View File

@@ -216,6 +216,7 @@ class ArticleAdmin(ArticleAdminWithExtraUrl):
"model_month",
"order_by_f_expression",
"order_by_orderby_expression",
"model_property_is_from_past",
)
list_editable = ("section",)
list_filter = ("date", "section")