Fixed #10377: Added clearer warning to database notes for cx_Oracle 5.0.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
James Bennett 2009-02-28 06:03:18 +00:00
parent db2a95f6f5
commit 5fcd75ce14
2 changed files with 13 additions and 7 deletions

View File

@ -366,10 +366,15 @@ version of SQLite.
Oracle notes Oracle notes
============ ============
Django supports `Oracle Database Server`_ versions 9i and higher. Oracle Django supports `Oracle Database Server`_ versions 9i and
version 10g or later is required to use Django's ``regex`` and ``iregex`` query higher. Oracle version 10g or later is required to use Django's
operators. You will also need a 4.X release of the `cx_Oracle`_ driver, ``regex`` and ``iregex`` query operators. You will also need at least
version 4.3.1 or newer. version 4.3.1 of the `cx_Oracle`_ Python driver.
Note that due to a Unicode-corruption bug in ``cx_Oracle`` 5.0, that
version of the driver should **not** be used with Django;
``cx_Oracle`` 5.0.1 resolved this issue, so if you'd like to use a
more recent ``cx_Oracle``, use version 5.0.1.
.. _`Oracle Database Server`: http://www.oracle.com/ .. _`Oracle Database Server`: http://www.oracle.com/
.. _`cx_Oracle`: http://cx-oracle.sourceforge.net/ .. _`cx_Oracle`: http://cx-oracle.sourceforge.net/

View File

@ -82,9 +82,10 @@ installed.
wrapper in the standard library, so you don't need to install anything extra wrapper in the standard library, so you don't need to install anything extra
in that case. in that case.
* If you're using Oracle, you'll need a 4.X release of cx_Oracle_, version * If you're using Oracle, you'll need a copy of cx_Oracle_, but please
4.3.1 or higher. You will also want to read the database-specific notes for read the database-specific notes for the
the :ref:`Oracle backend <oracle-notes>`. :ref:`Oracle backend <oracle-notes>` for important information
regarding supported versions of both Oracle and ``cx_Oracle``.
If you plan to use Django's ``manage.py syncdb`` command to If you plan to use Django's ``manage.py syncdb`` command to
automatically create database tables for your models, you'll need to automatically create database tables for your models, you'll need to