old_contents: from tastypie.resources import ModelResource
  from models import Event
  
  from mozcal.base.serializers import MozcalSerializer
  
  
  class EventResource(ModelResource):
    class Meta:
      queryset = Event.objects.all()
      filtering = {
        "title": ('startswith',),
      }
      allowed_methods = ['get']
  
      serializer = MozcalSerializer(formats=['json', 'csv'])
  
new_contents: from tastypie.resources import ModelResource
  from models import Event
  
  from mozcal.base.serializers import MozcalSerializer
  
  
  class EventResource(ModelResource):
    class Meta:
      queryset = Event.objects.all()
      filtering = {
        "title": ('startswith',),
      }
      allowed_methods = ['get']
      include_resource_uri = False
      include_absolute_url = False
  
      serializer = MozcalSerializer(formats=['json', 'csv'])
subject: Exclude uri fields from EventResource