You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
forchild_objectinsource_manager.all().order_by("pk"):
old_pk=child_object.pk# TODO: What do we do about the child_object_map of the child_object?ifisinstance(child_object, ClusterableModel):
child_object, _=child_object.copy_cluster()
child_object.pk=Nonesetattr(child_object, parental_key_name, target.id)
target_manager.add(child_object)
Not sure if this is the right solution or what to do about the nested child_object_map situation.
Consider nested relations in the context of
Band
,Album
, andSong
models.Cloning the beatles object will not clone the songs attached to the album.
The text was updated successfully, but these errors were encountered: