(request, pk)
| 67 | |
| 68 | @api_view(['GET']) |
| 69 | def AuthorDetailView(request, pk): |
| 70 | author_detail = Author.objects.get(id=pk) |
| 71 | serializer = AuthorSerializer(author_detail, many=False) |
| 72 | return Response(serializer.data) |
| 73 | |
| 74 | |
| 75 | @api_view(['GET']) |
nothing calls this directly
no test coverage detected