text: from rest_framework import viewsets
  from restapi.models import Parking, Place, Section
  from restapi.serializers import ParkingSerializer, PlaceSerializer, SectionSerializer
  
  
  class ParkingViewSet(viewsets.ModelViewSet):
      queryset = Parking.objects.all()
      serializer_class = ParkingSerializer
  
  
  class PlaceViewSet(viewsets.ModelViewSet):
      queryset = Place.objects.all()
      serializer_class = PlaceSerializer
  
  
  class SectionViewSet(viewsets.ModelViewSet):
      queryset = Section.objects.all()
      serializer_class = SectionSerializer
  
  
  
  
  
  
  