diff options
| author | Simon Charette <charette.s@gmail.com> | 2020-10-04 18:25:29 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-10-29 22:22:58 +0100 |
| commit | bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3 (patch) | |
| tree | 7c0e7ac6defc405cd5320066f75ade21bf9943ac /docs/releases/3.2.txt | |
| parent | 4ac2d4fa42e1659f328c35b6b8d4761b3419c11a (diff) | |
Refs #32061 -- Unified DatabaseClient.runshell() in db backends.
Diffstat (limited to 'docs/releases/3.2.txt')
| -rw-r--r-- | docs/releases/3.2.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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` --------------------------- |
