mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Dropped the needs_datetime_string_cast feature.
It has been superseded by the converter infrastructure.
This commit is contained in:
parent
e2a652fac1
commit
da2c6959c8
5 changed files with 2 additions and 39 deletions
|
@ -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()``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue