303 ap_params['list_action'] = (redirects.getPublicRedirect, ap_params) |
303 ap_params['list_action'] = (redirects.getPublicRedirect, ap_params) |
304 ap_params['list_description'] = description |
304 ap_params['list_description'] = description |
305 ap_params['list_heading'] = 'soc/student_project/list/heading_all.html' |
305 ap_params['list_heading'] = 'soc/student_project/list/heading_all.html' |
306 ap_params['list_row'] = 'soc/student_project/list/row_all.html' |
306 ap_params['list_row'] = 'soc/student_project/list/row_all.html' |
307 |
307 |
|
308 prefetch = ['mentor', 'student', 'scope'] |
|
309 |
308 return self.list(request, access_type, page_name=page_name, |
310 return self.list(request, access_type, page_name=page_name, |
309 params=ap_params, filter=filter) |
311 params=ap_params, filter=filter, prefetch=prefetch) |
310 |
312 |
311 @decorators.merge_params |
313 @decorators.merge_params |
312 @decorators.check_access |
314 @decorators.check_access |
313 def slots(self, request, acces_type, page_name=None, params=None, **kwargs): |
315 def slots(self, request, acces_type, page_name=None, params=None, **kwargs): |
314 """Returns a JSON object with all orgs allocation. |
316 """Returns a JSON object with all orgs allocation. |