On 09/01/2010 02:00 PM, Reinout van Rees wrote:
Hi,

I'm deploying a site on windows with oracle (and I don't know either of
them well). Simple apache+wsgi setup for now.

I'll have to test it out tomorrow when I'm near the windows machine again, but I might have found the solution in an existing bug report: http://code.djangoproject.com/ticket/13351

In a threaded situation (which you always have with mod_wsgi on windows), you apparently need to pass the cx_oracle database driver a threaded=True option (which is off by default).

So I added the following to my database config and I'm hoping I'll be happy tomorrow morning...

'OPTIONS': {'threaded': True}


I'll update the ticket when it helps.


Reinout

--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9

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

Reply via email to