mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Dropped the needs_datetime_string_cast feature.
It has been superseded by the converter infrastructure.
This commit is contained in:
@@ -326,6 +326,8 @@ Database backend API
|
||||
fetched from the database is to register a converter for ``DateTimeField``
|
||||
in ``DatabaseOperations.get_db_converters()``.
|
||||
|
||||
The ``needs_datetime_string_cast`` database feature was removed. Database
|
||||
backends that set it must register a converter instead, as explained above.
|
||||
|
||||
* The ``DatabaseOperations.value_to_db_<type>()`` methods were renamed to
|
||||
``adapt_<type>field_value()`` to mirror the ``convert_<type>field_value()``
|
||||
|
||||
Reference in New Issue
Block a user