(request)
| 16 | # GET |
| 17 | @api_view(['GET']) |
| 18 | def taskList(request): |
| 19 | tasks = Task.objects.all() |
| 20 | serializer = TaskSerializer(tasks, many=True) |
| 21 | return Response(serializer.data) |
| 22 | |
| 23 | # GET with id |
| 24 | @api_view(['GET']) |
nothing calls this directly
no test coverage detected