コード例 #1
0
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     requested_fields = request.GET.get('requested_fields')
     return Response(get_thread(request, thread_id, requested_fields))
コード例 #2
0
ファイル: views.py プロジェクト: digitalsatori/edx-platform
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     requested_fields = request.GET.get('requested_fields')
     return Response(get_thread(request, thread_id, requested_fields))