﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36616	Add DatabaseOperations.adapt_durationfield_value() hook	Tim Graham	Tim Graham	"The MongoDB backend has to [https://github.com/mongodb/django-mongodb-backend/blob/f8c95289d6555d8e135e7177dc43576c01179360/django_mongodb_backend/fields/duration.py#L7-L14 monkeypatch] `DurationField.get_db_prep_value()` to adapt the value sent to the database.

Following the pattern of other fields, a `DatabaseOperations.adapt_durationfield_value()` hook could be added to remedy this.


"	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
