(request, book_id)
| 80 | |
| 81 | @api_view(['GET']) |
| 82 | def BookInstanceSpecific(request, book_id): |
| 83 | books_instance = BookInstance.objects.filter(book = book_id) |
| 84 | serializer = BookInstanceSerializer(books_instance, many=True) |
| 85 | return Response(serializer.data) |
| 86 | |
| 87 | from rest_framework.views import APIView |
| 88 | from rest_framework.pagination import PageNumberPagination |
nothing calls this directly
no test coverage detected