On Thu, 2020-12-03 at 11:58 +, Adam Johnson wrote:
> What prevents you from using select_related with an explicit list of
> relations that you *do* want?
well the fact the select_related() call is in third party code. In the
most common case for us this is contrib.admin.
So we are forced
What prevents you from using select_related with an explicit list of
relations that you *do* want? That's more maintainable as it prevents
overfetching when you add new relations. If it were up to me I'd remove the
"select_related()-selects-all-relations-behaviour" - it's too implicit and
can lead
Hi
A recent question on one of the other django mailing lists reminded me
of this: I have a very edge (and almost certainly off the end of
'supported') use case, where I would like to mark some relations on a
model, as having select_related() disabled.
More specifically the requirement is that