Exemplo n.º 1
0
 def get(self):
     survey_participants = SurveyParticipant.get_all()
     survey_participant_list = []
     for survey_participant in survey_participants:
         survey_participant_list.append(survey_participant.to_json_dict('full_name', 'email',
             'is_starred', 'is_active', 'is_deleted', 'when_created'))
     response = json.dumps(survey_participant_list)
     self.response.out.write(response)