From bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Sun, 4 Oct 2020 18:25:29 -0400 Subject: Refs #32061 -- Unified DatabaseClient.runshell() in db backends. --- docs/releases/3.2.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index c765c4ed63..ca427c3bc5 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -477,6 +477,12 @@ backends. ``DatabaseOperations.time_trunc_sql()`` now take the optional ``tzname`` argument in order to truncate in a specific timezone. +* ``DatabaseClient.runshell()`` now gets arguments and an optional dictionary + with environment variables to the underlying command-line client from + ``DatabaseClient.settings_to_cmd_args_env()`` method. Third-party database + backends must implement ``DatabaseClient.settings_to_cmd_args_env()`` or + override ``DatabaseClient.runshell()``. + :mod:`django.contrib.admin` --------------------------- -- cgit v1.3