mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Refs #32061 -- Unified DatabaseClient.runshell() in db backends.
This commit is contained in:
parent
4ac2d4fa42
commit
bbe6fbb876
16 changed files with 272 additions and 206 deletions
|
@ -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`
|
||||
---------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue