summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-03-26 22:22:15 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-27 06:32:42 +0100
commitbec4dea844332390aecd72f22afc6673a3f5f5fc (patch)
tree128fdaaa82fdb92f3ea69bbb49d98189c8ec1936 /docs
parentd0da2820cab495c35eac10680213f927be8b91b0 (diff)
Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/databases.txt2
-rw-r--r--docs/ref/settings.txt6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 4d4a7d2aa9..2358310e8d 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -37,7 +37,7 @@ connection. It can be set independently for each database.
The default value is ``0``, preserving the historical behavior of closing the
database connection at the end of each request. To enable persistent
-connections, set :setting:`CONN_MAX_AGE` to a positive number of seconds. For
+connections, set :setting:`CONN_MAX_AGE` to a positive integer of seconds. For
unlimited persistent connections, set it to ``None``.
Connection management
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 8c3f6f2b47..0e94dc9506 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -597,9 +597,9 @@ file. When specifying the path, always use forward slashes, even on Windows
Default: ``0``
-The lifetime of a database connection, in seconds. Use ``0`` to close database
-connections at the end of each request — Django's historical behavior — and
-``None`` for unlimited persistent connections.
+The lifetime of a database connection, as an integer of seconds. Use ``0`` to
+close database connections at the end of each request — Django's historical
+behavior — and ``None`` for unlimited persistent connections.
.. setting:: OPTIONS