On Thu, Dec 2, 2010 at 5:34 PM, Anurag Chourasia <anurag.choura...@gmail.com> wrote: > Hi Ian, > I just tried the ctypes solution that you mentioned in your previous email > but it does not work for me.
In your transcript, it appears that Django has already been loaded when you call the ctypes code. The environment variable needs to be set *before* cx_Oracle is imported by Django, or it won't have any effect. This is why I suggested patching it into the django/db/backends/oracle/base.py file. Cheers, Ian -- 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.