app/soc/views/models/project_survey.py
changeset 2532 0b4dbe4b3fb7
parent 2531 855ee76c16a2
child 2534 c880489123fc
equal deleted inserted replaced
2531:855ee76c16a2 2532:0b4dbe4b3fb7
   149     properties.update(project=project_entity)
   149     properties.update(project=project_entity)
   150 
   150 
   151   def _constructFilterForProjectSelection(self, survey, params):
   151   def _constructFilterForProjectSelection(self, survey, params):
   152     """Returns the filter needed for the Project selection view.
   152     """Returns the filter needed for the Project selection view.
   153 
   153 
       
   154     Returns a filter for all the valid projects for which the current user
       
   155     is a student. Of course only in the survey's scope.
       
   156 
   154     Args:
   157     Args:
   155       survey: a Survey entity
   158       survey: a Survey entity
   156       params: the params dict for the requesting view
   159       params: the params dict for the requesting view
   157 
   160 
   158     Returns:
   161     Returns: