On Dec 24, 2010, at 9:26 AM, Silva Paulo wrote: > I need to do a massive insertion of records in two tables "connectd" by > "foreignkey". Is there a way, using the Django db API, to do it. > e=Foo(...);e.save() seems too slow.
It's always going to be very slow to do inserts via the Django ORM compared to going straight to the database. Which DB are you using, and what format is the data in before it gets inserted? -- -- Christophe Pettus x...@thebuild.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.