code: def get_object_detail(self, request, obj):
          
          if self.display_detail_fields:
              display_fields = self.display_detail_fields
          else:
              display_fields = self.display_fields
  
          data = self.serialize(obj, ['id'] + list(display_fields))
          return HttpResponse(self.json_dumps(data), content_type='application/json')
docs: Handles get requests for the details of the given object.