code: def _related_field_data(field, obj):
      
      data = _basic_field_data(field, obj)
      relation_info = {
          Field.REL_DB_TABLE: field.rel.to._meta.db_table,
          Field.REL_APP: field.rel.to._meta.app_label,
          Field.REL_MODEL: field.rel.to.__name__
      }
      data[Field.TYPE] = FieldType.REL
      data[Field.REL] = relation_info
      return data
docs: Returns relation ``field`` as a dict.
  
      Dict contains related pk info and some meta information
      for reconstructing objects.