diff options
| author | Joseph Victor Zammit <jvzammit@gmail.com> | 2023-01-23 21:29:05 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-28 12:54:33 +0100 |
| commit | 5bdd6223a24b2bcd0ee32251d6f3ce20e934a1dd (patch) | |
| tree | 3c9b132c5e77bdcde426764aa9fddecaf90ae2af /docs/ref/databases.txt | |
| parent | fae76b81ce6d13245abc42752f0a82f16a9ba35f (diff) | |
[4.2.x] Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
Backport of ba755ca13123d2691a0926ddb64e5d0a2906a880 from main
Diffstat (limited to 'docs/ref/databases.txt')
| -rw-r--r-- | docs/ref/databases.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 0885af35e1..7fe1f823b4 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -584,7 +584,6 @@ Here's a sample configuration which uses a MySQL option file:: } } - .. code-block:: ini # my.cnf @@ -1026,14 +1025,14 @@ using RAC or pluggable databases without ``tnsnames.ora``, for example. Example of an Easy Connect string:: - 'NAME': 'localhost:1521/orclpdb1', + 'NAME': 'localhost:1521/orclpdb1' Example of a full DSN string:: 'NAME': ( '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))' '(CONNECT_DATA=(SERVICE_NAME=orclpdb1)))' - ), + ) Threaded option --------------- @@ -1044,7 +1043,7 @@ the ``threaded`` option of your Oracle database configuration to ``True``:: 'OPTIONS': { 'threaded': True, - }, + } Failure to do this may result in crashes and other odd behavior. @@ -1060,7 +1059,7 @@ The ``RETURNING INTO`` clause can be disabled by setting the 'OPTIONS': { 'use_returning_into': False, - }, + } In this case, the Oracle backend will use a separate ``SELECT`` query to retrieve ``AutoField`` values. @@ -1169,7 +1168,7 @@ file:: DATABASES = { 'default': { 'ENGINE': 'mydbengine', - ... + # ... }, } |
