app/soc/views/models/student_project.py
changeset 2707 ffabb3576744
parent 2705 0b38d59d958f
child 2711 4df8c11c36cb
equal deleted inserted replaced
2706:198926c38229 2707:ffabb3576744
   241 
   241 
   242   @decorators.merge_params
   242   @decorators.merge_params
   243   @decorators.check_access
   243   @decorators.check_access
   244   def withdraw(self, request, access_type,
   244   def withdraw(self, request, access_type,
   245                       page_name=None, params=None, **kwargs):
   245                       page_name=None, params=None, **kwargs):
   246     """View that allows Program Admins to withdraw Students.
   246     """View that allows Program Admins to accept or withdraw Students.
   247 
   247 
   248     For params see base.View().public()
   248     For params see base.View().public()
   249     """
   249     """
   250 
   250 
   251     program = program_logic.getFromKeyFieldsOr404(kwargs)
   251     program = program_logic.getFromKeyFieldsOr404(kwargs)
   306 
   306 
   307   @decorators.merge_params
   307   @decorators.merge_params
   308   @decorators.check_access
   308   @decorators.check_access
   309   def acceptProject(self, request, access_type,
   309   def acceptProject(self, request, access_type,
   310                       page_name=None, params=None, **kwargs):
   310                       page_name=None, params=None, **kwargs):
   311     """View that allows Program Admins to withdraw Students.
   311     """View that allows Program Admins to accept Students.
   312 
   312 
   313     For params see base.View().public()
   313     For params see base.View().public()
   314 
   314 
   315     """
   315     """
   316 
   316