mirror of
https://github.com/django/django.git
synced 2025-03-19 05:40:46 +00:00
Added relabeled_clone() method to sql.Query to fix the problem. It manifested itself in rare cases where at least double nested subquery's filter condition might target non-existing alias. Thanks to Trac alias ris for reporting the problem. Backport of 5c481db29572a387651681b43d5d4523f96b3793 from master