def get_content(self, obj):
        """
        Obtain the QuerySet of content items.
        :param obj: Page object.
        :return: List of rendered content items.
        """
        serializer = ContentSerializer(
            instance=obj.contentitem_set.all(),
            many=True,
            context=self.context,
        )
        return serializer.data
Obtain the QuerySet of content items.
        :param obj: Page object.
        :return: List of rendered content items.