old_contents: from .models import Volunteer, Event
  from .serializers import VolunteerSerializer, EventSerializer
  from rest_framework import generics
  
  # generic view patterns documented http://www.django-rest-framework.org/tutorial/3-class-based-views/
  
  #returns all volunteers
  class VolunteerList(generics.ListCreateAPIView):
      queryset = Volunteer.objects.all()
      serializer_class = VolunteerSerializer
  
  #returns specific volunteer, ability to update, delete as well
  class VolunteerDetail(generics.RetrieveUpdateDestroyAPIView):
      queryset = Volunteer.objects.all()
      serializer_class = VolunteerSerializer
  
  class EventList(generics.ListCreateAPIView):
      queryset = Event.objects.all()
      serializer_class = EventSerializer
  
  #returns specific volunteer, ability to update, delete as well
  class EventDetail(generics.RetrieveUpdateDestroyAPIView):
      queryset = Event.objects.all()
      serializer_class = EventSerializer
  
  
new_contents: from .models import *
  from .serializers import VolunteerSerializer, EventSerializer
  from rest_framework import generics
  
  # generic view patterns documented http://www.django-rest-framework.org/tutorial/3-class-based-views/
  
  #returns all volunteers
  class VolunteerList(generics.ListCreateAPIView):
      queryset = Volunteer.objects.all()
      serializer_class = VolunteerSerializer
  
  #returns specific volunteer, ability to update, delete as well
  class VolunteerDetail(generics.RetrieveUpdateDestroyAPIView):
      queryset = Volunteer.objects.all()
      serializer_class = VolunteerSerializer
  
  class EventList(generics.ListCreateAPIView):
      queryset = Event.objects.all()
      serializer_class = EventSerializer
  
  #returns specific volunteer, ability to update, delete as well
  class EventDetail(generics.RetrieveUpdateDestroyAPIView):
      queryset = Event.objects.all()
      serializer_class = EventSerializer
  
  
subject: modify model import