diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-07-09 13:02:07 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-07-09 13:03:19 +0200 |
| commit | 7d59c6d37c3b675b85d218f733ed24ca006a9d05 (patch) | |
| tree | 19f5db7a73b69c176e65fd2ac491c8b7d1a3d653 /docs | |
| parent | a3d35af26ab96598a38e9b16beac541ddb7f5aba (diff) | |
[4.1.x] Refs CVE-2022-34265 -- Unified DatabaseOperations._convert_*_to_tz() hook names.
Backport of 5e2f4ddf2940704a26a4ac782b851989668d74db from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/4.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index 49bbf2dec2..e8cd11349b 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -459,6 +459,10 @@ backends. ``DatabaseOperations.insert_statement()`` method is replaced by ``on_conflict`` that accepts ``django.db.models.constants.OnConflict``. +* ``DatabaseOperations._convert_field_to_tz()`` is replaced by + ``DatabaseOperations._convert_sql_to_tz()`` that accepts the ``sql``, + ``params``, and ``tzname`` arguments. + * Several date and time methods on ``DatabaseOperations`` now take ``sql`` and ``params`` arguments instead of ``field_name`` and return 2-tuple containing some SQL and the parameters to be interpolated into that SQL. The changed |
