Wagtail: how to set calculated fields (@property) title in admin
问题 I use ModelAdmin module for my models in Wagtail. I have @property fields in models, where I return some annotated data and display it Index and Inspect Views in Admin. But Wagtail set title of such fields as field name in model. In regular field I use verbose_name to set nice title, how can I change titles for property field? 回答1: You have to create your own ReadOnlyPanel as it is not possible with Wagtail. mypanel.py from django.forms.utils import pretty_name from django.utils.html import