mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #32061 -- Unified DatabaseClient.runshell() in db backends.
This commit is contained in:
committed by
Mariusz Felisiak
parent
4ac2d4fa42
commit
bbe6fbb876
@@ -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`
|
||||
---------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user