﻿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
28974	Model.refresh_from_db() should pass the refreshed instance as a database hint	Simon Charette	nobody	"While reviewing the patch for #28918 and reflecting about #28939 I noticed that the `refresh_from_db()` method [https://github.com/django/django/blob/d065c92678f5d11a70b88e195c6357576eb3a2ef/django/db/models/base.py#L593 was duplicating] the work [https://github.com/django/django/blob/d065c92678f5d11a70b88e195c6357576eb3a2ef/django/db/utils.py#L261-L263 the routers do] when an `instance` hint is provided.

I figured out that we we're better of using `db_manager(using, hints={'instance': self})` in this case which would also have the benefit of passing down `instance` as an hint to possibly defined custom routers."	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	fixed			Unreviewed	1	0	0	0	0	0
