By searching for 'threading' in the ticket-database I've found ticket
1442, which provides a different approach: thread-local storage. (Each
thread it's own connection.)

URL:
http://code.djangoproject.com/attachment/ticket/1442/django.threading.pa
tch

That patch works very well for me; didn't try yet patch for ticket 900
but I think this approach is simpler to implement, and will have better
performance.

Another approach would be to use a connection-pool, but that would
require a whole different API for programmers.


Cheers,

--Tim

-----Original Message-----
From: django-users@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ivan Sagalaev
Sent: dinsdag 14 maart 2006 7:29
To: django-users@googlegroups.com
Subject: Re: Django on Windows?


Leeuw van der, Tim wrote:

>Hi Ivan,
>
>Thanks for your fast answer. I didn't get round to trying the changes
>until now and I suspect that the first link you sent me is for the
wrong
>issue: it's a patch to make the default filters unicode-proof (adding
>encode/decode with default charset in lots of places).
>  
>
Oops... Missed a bookmark or something :-)
Hre's the right one: 
http://code.djangoproject.com/attachment/ticket/900/900.2.patch



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to