Tuesday, April 24, 2012

Re: transaction.commit_on_success committing prematurely?

This may actually solve one of the problems I've been having regarding slow bulk inserts. I'll look into it, thanks for the pointer!!!

Cheers,
AT

On Tue, Apr 24, 2012 at 2:16 PM, John Begeman <begemanj@gmail.com> wrote:
My app uses multiple databases and my saves were against something
that was not the default DB.  I needed to specify the proper db to
manage transactions against, as commit_on_success was trying to manage
connections on the default database.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment