diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 4d4a7d2aa9b..2358310e8d4 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 8c3f6f2b473..0e94dc95069 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