old_contents: from .models import Source, Change
  from rest_framework import mixins, generics
  from rest_framework.permissions import IsAuthenticated
  from .serializers import ChangeSerializer
  
  
  class ChangePost(mixins.CreateModelMixin, generics.GenericAPIView):
      permission_classes = (IsAuthenticated,)
      queryset = Change.objects.all()
      serializer_class = ChangeSerializer
  
      def post(self, request, *args, **kwargs):
          # load the users sources - posting users should only have one source
          source = Source.objects.get(user=self.request.user)
          request.data["source"] = source.id
          return self.create(request, *args, **kwargs)
  
      # TODO make this work in test harness, works in production
      # def perform_create(self, serializer):
      #     serializer.save(created_by=self.request.user,
      #                     updated_by=self.request.user)
  
      # def perform_update(self, serializer):
      #     serializer.save(updated_by=self.request.user)
  
new_contents: from .models import Source, Change
  from rest_framework import mixins, generics
  from rest_framework.permissions import IsAuthenticated
  from .serializers import ChangeSerializer
  
  
  class ChangePost(mixins.CreateModelMixin, generics.GenericAPIView):
      permission_classes = (IsAuthenticated,)
      queryset = Change.objects.all()
      serializer_class = ChangeSerializer
  
      def post(self, request, *args, **kwargs):
          # load the users sources - posting users should only have one source
          source = Source.objects.get(user=self.request.user)
          request.data["source"] = source.id
          return self.create(request, *args, **kwargs)
  
subject: remove commented out code