app/soc/views/models/grading_project_survey.py
changeset 2725 09b5bfc5707f
parent 2722 1ec0af4ddd72
child 2734 f35f6f05c8c4
equal deleted inserted replaced
2724:8df4563fb2eb 2725:09b5bfc5707f
   121     mentor_entities = mentor_logic.getForFields(fields)
   121     mentor_entities = mentor_logic.getForFields(fields)
   122 
   122 
   123     # TODO: Ensure that this doesn't break when someone is a mentor for
   123     # TODO: Ensure that this doesn't break when someone is a mentor for
   124     # a lot of organizations.
   124     # a lot of organizations.
   125 
   125 
   126     # TODO(ljvderijk) transform StudentProject to handle multiple surveys
       
   127     fields = {'mentor': mentor_entities,
   126     fields = {'mentor': mentor_entities,
   128               'status': 'accepted'}
   127               'status': 'accepted'}
   129 
   128 
   130     return fields
   129     return fields
   131 
   130