from django.shortcuts import render
from rest_framework import generics
# from .serializers import VenueSerializer
# from mainapp.models import Venue

# Create your views here.

# class VenueListView(generics.ListCreateAPIView):
#     serializer_class = VenueSerializer
#     queryset = Venue.objects.all().order_by("name")
    
# class VenueDetailView(generics.RetrieveUpdateDestroyAPIView):
#     serializer_class = VenueSerializer
#     queryset = Venue.objects.all().order_by("name")