mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed global timezone-aware datetime adapters.
Refs #23820. Fixed #19738. Refs #17755. In order not to introduce a regression for raw queries, parameters are passed through the connection.ops.value_to_db_* methods, depending on their type.
This commit is contained in:
@@ -32,6 +32,11 @@ details on these changes.
|
||||
|
||||
* ``django.db.models.fields.add_lazy_relation()`` will be removed.
|
||||
|
||||
* When time zone support is enabled, database backends that don't support time
|
||||
zones won't convert aware datetimes to naive values in UTC anymore when such
|
||||
values are passed as parameters to SQL queries executed outside of the ORM,
|
||||
e.g. with ``cursor.execute()``.
|
||||
|
||||
* The ``django.contrib.auth.tests.utils.skipIfCustomUser()`` decorator will be
|
||||
removed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user