text: from rest_framework.generics import DestroyAPIView
  from categories.serializer import CategorySerializer
  from categories.models import Category
  
  
  class CategoryDeleteApi(DestroyAPIView):
      queryset = Category.objects.all()
      serializer_class = CategorySerializer
  