On May 23, 11:57 am, "m...@nysv.org" <markus.tornqv...@gmail.com>
wrote:

> Maybe I'll still try Process objects instead of processing.Pool.imap()
> to be safe..

I never did, as it seems the connection is very global.

I also made a finding that the connection live in the base model, so
although

from django.db import connection
new_connection = connection.__class__()

works as anticipated, I can't assign it for only some objects.

Running out of time I just wrote all the SQL manually and opened new
connections for them manually.

If anyone still has a better solution, I'm all ears, but it would be
nice
if Django had better support for this :)

Thanks!

--
mjt

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

Reply via email to