def get(self, request): participant = Participant.objects.get( Q(email=request.user.username) | Q(email=request.user.email) ) event = participant.event.select_related()[0] calculator = Calculator(event) return Response( status.HTTP_200_OK, { "event" : event, "participant" : participant, "amount" : calculator.amount(), "participantAmount": calculator.participantAmount(participant) } )