def get_list_and_respond(self, request, contribution):
        serializer = CommentSerializer(
            contribution.comments.filter(respondsto=None),
            many=True,
            context={'user': self.get_user(request)}
        )
        return Response(serializer.data, status=status.HTTP_200_OK)
Decorator used to output prettified JSON.
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/views/comments.py/CommentAbstractAPIView.get_list_and_respond--crossover with--dataset/ETHPy150Open Bystroushaak/bottle-rest/src/bottle_rest/bottle_rest.py/pretty_dump