all the method field.rel.to._meta.get_field with field.rel.field_name as argument, call the to_python method on the result with,
data [ field . attname ] = field . rel . to . _meta . get_field ( field . rel . field_name ) . to_python ( field_value )