def METHOD_NAME(self, obj):
    list_content = format_html_join(
        "",
        "<li>{}</li>",
        [[d.parent.form] for d in obj.document_types.all()],
    )
    return mark_safe(f"<ul>{list_content}</ul>")