コード例 #1
0
 def create(self, request):
     """
     Implements the POST method for the list endpoint as described in the
     class docstring.
     """
     return Response(create_comment(request, request.data))
コード例 #2
0
ファイル: views.py プロジェクト: digitalsatori/edx-platform
 def create(self, request):
     """
     Implements the POST method for the list endpoint as described in the
     class docstring.
     """
     return Response(create_comment(request, request.data))