views.py from django.shortcuts import render # Create your views here. from rest_framework.generics import GenericAPIView from rest_framework.response import Response from rest_framework.views import APIView from bookset.models import BookInfo from .