1from django.shortcuts import render
2from rest_framework import generics
3
4from .serializers import ApiSerializer #Serializers
5
6class APIDetailView(generics.RetrieveUpdateDestroyAPIView):
7 queryset = Api.objects.all()
8 serializer_class = ApiSerializer