Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13351: Added documentation about the cx_Oracle 'threaded' opti…

…on to the oracle backend notes.

Thanks to Skaffen for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c0adc62fcc917b056cf742248ea7d355b0dc721f 1 parent 0e26f58
Ian Kelly authored November 19, 2010

Showing 1 changed file with 14 additions and 1 deletion. Show diff stats Hide diff stats

  1. 15  docs/ref/databases.txt
15  docs/ref/databases.txt
@@ -549,7 +549,7 @@ Your Django settings.py file should look something like this for Oracle::
549 549
             'USER': 'a_user',
550 550
             'PASSWORD': 'a_password',
551 551
             'HOST': '',
552  
-            'PORT': ''     ,
  552
+            'PORT': '',
553 553
         }
554 554
     }
555 555
 
@@ -572,6 +572,19 @@ recognizes the SID ("xe" in this example), then fill in both
572 572
 You should supply both ``HOST`` and ``PORT``, or leave both
573 573
 as empty strings.
574 574
 
  575
+Threaded option
  576
+----------------
  577
+
  578
+If you plan to run Django in a multithreaded environment (e.g. Apache in Windows
  579
+using the default MPM module), then you **must** set the ``threaded`` option of
  580
+your Oracle database configuration to True::
  581
+
  582
+            'OPTIONS': {
  583
+                'threaded': True,
  584
+            },
  585
+
  586
+Failure to do this may result in crashes and other odd behavior.
  587
+
575 588
 Tablespace options
576 589
 ------------------
577 590
 

0 notes on commit c0adc62

Please sign in to comment.
Something went wrong with that request. Please try again.