﻿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
27564	`refresh_from_db()` should return the model instance instead of None	Tom Forbes	nobody	"It is mildly annoying that `refresh_from_db` returns None instead of `self`. In some scenarios (especially involving tests) it would be quite nice to be able to do:

`assert model.refresh_from_db().status == SomeEnum.SomeStatus`

With lists of models it's also nice to be able to do:

`assert all(model.refresh_from_db().status == Something for model in list_of_models)`

Currently because the `refresh_from_db` returns None you cannot do this."	Cleanup/optimization	closed	Database layer (models, ORM)	1.10	Normal	wontfix			Unreviewed	0	0	0	0	0	0
