Kustomisasi tampilan API Django Rest
def update(self, request, *args, **kwargs):
data = request.DATA
qs = Student_academic_program.objects.filter(student=2773951)
serializer = StudentAcademicProgramSerializer(qs, data=data, many=True)
if serializer.is_valid():
serializer.save()
return Response(serializer.data)
...
Yucky Yak