def get_expiry_date(obj):
    """
    A custom field to show the expiry date in the
    Moderation Request Admin Changelist in djangocms-moderation.

    :param obj: A Moderation Request object supplied from the admin view table row
    :return: The expiry date from the matching moderation request object
    """
    version = obj.moderation_request.version

    if hasattr(version, "contentexpiry"):
        return version.contentexpiry.expires