mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refs #23524 -- Unified BaseDatabaseWrapper.timezone.
There was a special case in this property to return None when the database backend supports time zone. However, only the PostgreSQL backend supports time zones and it never uses this property.
This commit is contained in:
committed by
Mariusz Felisiak
parent
a2e96f7969
commit
ad88524e4d
@@ -297,6 +297,11 @@ backends.
|
||||
* ``DatabaseOperations.fetch_returned_insert_columns()`` now requires an
|
||||
additional ``returning_params`` argument.
|
||||
|
||||
* ``connection.timezone`` property is now ``'UTC'`` by default, or the
|
||||
:setting:`TIME_ZONE <DATABASE-TIME_ZONE>` when :setting:`USE_TZ` is ``True``
|
||||
on databases that support time zones. Previously, it was ``None`` on
|
||||
databases that support time zones.
|
||||
|
||||
Dropped support for MariaDB 10.1
|
||||
--------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user