<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _related_field_data(field, obj):
 """Returns relation ``field`` as a dict. Dict contains related pk info and some meta information for reconstructing objects. """

    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