When both master and other have related OneToOne objects: IntegrityError: duplicate key value violates unique constraint "common_relatedmodel_connection_id_########_uniq" DETAIL: Key (connection_id)=(20147) already exists Any ideas on a solution or a workaround?