Skip to content

Commit

Permalink
[1.0.X] Fixed #10377: Added clearer warning to database notes for cx_…
Browse files Browse the repository at this point in the history
…Oracle 5.0.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ubernostrum committed Feb 28, 2009
1 parent 9b373d0 commit 9b5b2ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
13 changes: 9 additions & 4 deletions docs/ref/databases.txt
Expand Up @@ -333,10 +333,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/
Expand Down
7 changes: 4 additions & 3 deletions docs/topics/install.txt
Expand Up @@ -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
Expand Down

0 comments on commit 9b5b2ee

Please sign in to comment.