mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
By using `select_related(None)` instead of `select_related()`, the unnecessary joins are completely avoided. Note that the current tests already covers the change, when the field is not `null=True`. Regression inf9936deed1
. Backport of517d3bb4dd
from main