app/soc/views/models/student.py
changeset 2157 139cd2731412
parent 2154 a0a1594e58ae
child 2158 2cbadb6efe9f
equal deleted inserted replaced
2156:0f5f68891822 2157:139cd2731412
   157         params=params, link_id=user_entity.link_id, **kwargs)
   157         params=params, link_id=user_entity.link_id, **kwargs)
   158 
   158 
   159   @decorators.merge_params
   159   @decorators.merge_params
   160   @decorators.check_access
   160   @decorators.check_access
   161   def listProjects(self, request, access_type,
   161   def listProjects(self, request, access_type,
   162            page_name=None, params=None, **kwargs):
   162                    page_name=None, params=None, **kwargs):
   163     """View that lists all of the current user's Student Projects for the
   163     """View that lists all of the current user's Student Projects for the
   164         Program given as Scope.
   164        Program given as Scope.
   165     """
   165     """
   166 
   166 
   167     from soc.views.models import student_project as project_view
   167     from soc.views.models import student_project as project_view
   168 
   168 
   169     user_entity = user_logic.logic.getForCurrentAccount()
   169     user_entity = user_logic.logic.getForCurrentAccount()