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
I'm a bit confused. You mentioned Many to Many relationship in the issue but this code sample has a One to Many.
When you are editing a ModelA object and click Clone, all django-modelclone does is give you a form pre-filled so you can create a new ModelA; and if the original ModelA had inlines, that is ModelAConfigs referencing it, your clone form will have pre-filled inline forms to create new ModelAConfig objects, that will reference the new ModelA.
Lets say there is a validation error on the object to be cloned, if the object has any many to many fields, it loses the reference to those.
The text was updated successfully, but these errors were encountered: