mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
This reverts commite441847eca. A shallow copy is not enough because querysets can be reused and evaluated in nested nodes, which shouldn't mutate JOIN aliases. Thanks Michal Čihař for the report. Backport of903aaa35e5from main