Deprecations
This page tracks public APIs that still work for compatibility but are no longer the preferred path.
Legacy List-Cell Tooltip Hook
Deprecated: list_cell_tooltip_fields as a list
The legacy list form is deprecated and targeted for removal before v1.0.
Use the field-to-hook mapping instead:
list_cell_tooltip_fields = {
"owner": "get_owner_tooltip",
"display_status": "get_display_status_tooltip",
}
def get_owner_tooltip(self, obj, request=None):
return f"{obj.owner.email} ({obj.owner.team.name})"
def get_display_status_tooltip(self, obj, request=None):
return obj.status_explanation
PowerField declarations should use tooltip_hook:
Do not mix the list form and mapping form in one list_cell_tooltip_fields declaration. Mixed shapes are invalid configuration.