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
Both Parent and Child models are defined and work individually but not together. The relationship between children and parents are also defined and this too works but not with any of the create_new_instance methods.
Have I missed something?
Thanks
Mike
The text was updated successfully, but these errors were encountered:
Thanks very much for your response. I think I have answered my own question. I would not win any points for style.
Firstly, your questions:
One Parent model
Many Child model(s)
Each parent may have many children.
When I supply a Parent with many children I want the parent and the new children to be serialized.... Thought I tried this before I raised my question. But here is my own answer:
Assuming this is a valid question. How do I load one dictionary nested in another?
i.e.
Both Parent and Child models are defined and work individually but not together. The relationship between children and parents are also defined and this too works but not with any of the create_new_instance methods.
Have I missed something?
Thanks
Mike
The text was updated successfully, but these errors were encountered: