1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #36616 -- Added DatabaseOperations.adapt_durationfield_value().

This commit is contained in:
Tim Graham
2025-09-23 12:36:49 -04:00
committed by GitHub
parent b67a36ec6f
commit 1acb00b26d
5 changed files with 22 additions and 7 deletions

View File

@@ -243,7 +243,9 @@ Database backend API
This section describes changes that may be needed in third-party database
backends.
* ...
* The ``DatabaseOperations.adapt_durationfield_value()`` hook is added. If the
database has native support for ``DurationField``, override this method to
simply return the value.
Miscellaneous
-------------