Fixes #22247: use ContentType.name for related_object_type display on custom field detail (#22248)

This commit is contained in:
bctiemann 2026-05-20 17:32:33 -04:00 committed by GitHub
parent 62b3d8f615
commit 284402f6ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
{% load helpers %}{{ object.get_type_display }}{% if object.related_object_type %} ({{ object.related_object_type.model|bettertitle }}){% endif %}
{% load helpers %}{{ object.get_type_display }}{% if object.related_object_type %} ({{ object.related_object_type.name|bettertitle }}){% endif %}