I want to create a bunch of objects that are interconnected in my
model (eg, one Book and three Author objects) and then call save() on
the Book object to add everything to the database. In other words, I
don't want to have to call save() on each and every object (not only
will it result in excessive code, but I would have to be very careful
to insert them in the right order according to the foreign key
relations. Is there any way to achieve this with Django ORM?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to