mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +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 of517d3bb4ddfrom main