Commit 0365712b by John Eskew Committed by GitHub

Merge pull request #15584 from edx/jeskew/fix_drf_upgrade_incompat

Remove request.POST save - incompatible with DRF v3.6.3.
parents 33b1e7ca d0037650
......@@ -60,7 +60,6 @@ class BulkEnrollView(APIView):
def post(self, request):
serializer = BulkEnrollmentSerializer(data=request.data)
if serializer.is_valid():
request.POST = request.data
response_dict = {
'auto_enroll': serializer.data.get('auto_enroll'),
'email_students': serializer.data.get('email_students'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment