|
|
|
@ -35,7 +35,7 @@ class StudentWorkView(APIView): |
|
|
|
server_status, |
|
|
|
server_status, |
|
|
|
checker__out_key=teacher_token, |
|
|
|
checker__out_key=teacher_token, |
|
|
|
id__gt=last_id, |
|
|
|
id__gt=last_id, |
|
|
|
)[last_id:50] |
|
|
|
)[last_id:100] |
|
|
|
return Response([ProgressLessonSerializer(i).data for i in progress_lessons], status=200) |
|
|
|
return Response([ProgressLessonSerializer(i).data for i in progress_lessons], status=200) |
|
|
|
except ValidationError: |
|
|
|
except ValidationError: |
|
|
|
return Response("Bad request", status=400) |
|
|
|
return Response("Bad request", status=400) |
|
|
|
|