﻿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
34112	Add async interface to Model	Adam Johnson	Bhuvnesh	"Following #33646, it would be convenient to also have an async interface on `Model` methods that use the database:

* `Model.asave()` to mirror `save()`
* `Model.adelete()` to mirror `delete()`
* `Model.arefresh_from_db()` to mirror `refresh_from_db()`

Allowing usage like:

{{{
book = await Book.objects.aget(title=title)
book.pages = ...
await book.asave()
}}}

There’s already a way to effectively call save for new objects only, through the `QuerySet.acreate()` method, exposed on managers.

`Model` also has some database-touching methods used in form validation, like `validate_constraints()`. But if we aren’t intending on exposing the forms API as async, yet, then these could be deferred"	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
