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:21:37 +0100 |
| commit | ba755ca13123d2691a0926ddb64e5d0a2906a880 (patch) | |
| tree | 283bacaa7d29dc42466000ef18ece04e854d50a4 /docs/ref/databases.txt | |
| parent | c67ea79aa981ae82595d89f8018a41fcd842e7c9 (diff) | |
Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
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 758afb055c..2fc5edb9f8 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -575,7 +575,6 @@ Here's a sample configuration which uses a MySQL option file:: } } - .. code-block:: ini # my.cnf @@ -1017,14 +1016,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 --------------- @@ -1035,7 +1034,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. @@ -1051,7 +1050,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. @@ -1160,7 +1159,7 @@ file:: DATABASES = { 'default': { 'ENGINE': 'mydbengine', - ... + # ... }, } |
