Thank you for your answer.
I think it will be a problem, beacuse I am already using postgresql
database in my django project.

On 5 апр, 17:02, Alex Gaynor <[email protected]> wrote:
>
> Instead of importing cx_oracle directly you should do `from django.db import
> connection` which gets you a normal PEP-249 database cursor, but Django
> wraps a few of the methods to make it play nice with Unicode and such.

But, how I tried to resolve my problem:

By googling found and added this one:
import os
os.environ["NLS_LANG"] = "Russian_Russia.UTF8"

So, there is no message about unicode decode problems, but I get
oracle error "ORA-12638".
Again, by googling I found how to resolve this:
comment out string SQLNET.AUTHENTICATION_SERVICES in file sqlnet.ora.

Now it is working, but I think it is bad way.
So, will try to learn this 
http://code.djangoproject.com/wiki/MultipleDatabaseSupport

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to