Closed adamanthil closed 7 months ago
In Django 4.2, using UNION queries with order by and select_related causes the above error, as originally referenced in https://github.com/dimagi/django-cte/pull/81#issue-1983991580
UNION
select_related
We're encountering this now in our production code base, and it is currently preventing an update beyond Django 4.1.
Related: https://github.com/dimagi/django-cte/issues/66
Can you provide an example query that reproduces the issue, preferably using models from the django-cte test suite?
Let me work on that and get back to you.
This can be reopened if more details are provided.
In Django 4.2, using
UNION
queries with order by andselect_related
causes the above error, as originally referenced in https://github.com/dimagi/django-cte/pull/81#issue-1983991580We're encountering this now in our production code base, and it is currently preventing an update beyond Django 4.1.
Related: https://github.com/dimagi/django-cte/issues/66