title: Serialize data from multiple models django
body: <p>Is it possible to serialize data from multiple models in django?</p>
  
  <p>For example, my code below currently will provide JSON of the data from my "Build" model. </p>
  
  <p><strong>serializers.py</strong></p>
  
  <pre><code>class buildStatsAPI_serializer(serializers.ModelSerializer):
      class Meta:
          fields = ('id','author_id','buildDescrip','buildStart','buildNotes')
      model = Build
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>class buildStatsAPI(generics.ListCreateAPIView):
      permission_classes = (permissions.IsAuthenticated,)
      serializer_class = buildStatsAPI_serializer
      def get_queryset(self):
          machinesOwned = CustomUser.objects.filter(customerTag=self.request.user.customerTag).filter(isDevice=True)
          machineList = []
          for machine in machinesOwned:
              machineList = machineList + [machine.id]
          query = Build.objects.filter(deleted=0, author_id__in=machineList,).values().order_by('pk')
          return query
  </code></pre>
  
  <p>How can I include data from other models on the same serializer?
  Specifically, I am currently serializing the 'author_id' which is a foreign key from my CustomUser model. I would like to get the 'authorName' from this model and include it on the same JSON object.</p>