title: Django Rest Framework: how do I Display content of Foreign keys in JSON
body: <p>I have serialised a model into JSON that has foreign keys. The API will show the title of the foreign key but will not nest the data that belongs to that foreign key. How do I do this.</p>
  
  <p>serializers.py</p>
  
  <pre><code>class ReportFieldSerializers(serializers.ModelSerializer):
      form = serializers.RelatedField()
      class Meta:
          model = ReportField
          fields = (
              'id',
              'title',
              'form'
          )
  </code></pre>
  
  <p>api.py</p>
  
  <pre><code>class ReportFieldList(APIView):
      def get(self, request, format=None):
          report_field = ReportField.objects.all()
          serialized_report_field = ReportFieldSerializers(report_field, many=True)
          return Response(serialized_report_field.data)
  
  class ReportFieldDetail(APIView):
      def get_object(self, pk):
          try:
              return ReportField.objects.get(pk=pk)
          except ReportField.DoesNotExist:
              raise Http404
  
      def get(self, request, pk, format=None):
          report_field = self.get_object(pk)
          serialized_report_field = ReportFieldSerializers(report_field)
          return Response(serialized_report_field.data)
  </code></pre>
  
  <p>models.py</p>
  
  <pre><code>class Report(models.Model):
      title = models.CharField()
      form = models.ForeignKey()
  
  class Form(models.Model):
      # Form details
  </code></pre>