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.
--
Ticket URL: <https://code.djangoproject.com/ticket/28974>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/9513 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/28974#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"f5a989e60394ac11f5dce886468a34533caefcbf" f5a989e6]:
{{{
#!CommitTicketReference repository=""
revision="f5a989e60394ac11f5dce886468a34533caefcbf"
Fixed #28974 -- Made refresh_from_db() hint routers about its instance.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28974#comment:2>