1def update(self, request, *args, **kwargs):
2 data = request.DATA
3 qs = Student_academic_program.objects.filter(student=2773951)
4 serializer = StudentAcademicProgramSerializer(qs, data=data, many=True)
5
6 if serializer.is_valid():
7 serializer.save()
8
9 return Response(serializer.data)
10
11 ...
12