diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-08-19 16:51:31 +0200 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2024-08-28 19:25:55 -0300 |
| commit | 26c06671d9f9ff679be5e290b0752a45e582ce0c (patch) | |
| tree | 4f2da01a004e3d107a1f99f10c0909cc6310335d /django/utils/html.py | |
| parent | fcb71a76cc1f599f7abbce33e52d4e609d936b40 (diff) | |
[5.1.x] Fixed #35688 -- Restored timezone and role setters to be PostgreSQL DatabaseWrapper methods.
Following the addition of PostgreSQL connection pool support in
Refs #33497, the methods for configuring the database role and timezone
were moved to module-level functions. This change prevented subclasses
of DatabaseWrapper from overriding these methods as needed, for example,
when creating wrappers for other PostgreSQL-based backends.
Thank you Christian Hardenberg for the report and to
Florian Apolloner and Natalia Bidart for the review.
Regression in fad334e1a9b54ea1acb8cce02a25934c5acfe99f.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Backport of 7380ac57340653854bc2cfe0ed80298cdac6061d from main.
Diffstat (limited to 'django/utils/html.py')
0 files changed, 0 insertions, 0 deletions
