#36860: Annotate after Union using django-cte breaks with django 5.2
-------------------------------------+-------------------------------------
     Reporter:  benjfield            |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  5.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  union                |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):

 If it helps, I can quickly answer the question about "promote" -- it means
 somewhere (maybe in `django-cte`?) an `.alias()` call should be replaced
 with `.annotate()`. Agree that the error wording is not so helpful. When
 doing more fulsome triage later today I'll look into whether this is
 expected.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36860#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019bb323283a-69ed0a94-ecf9-4faf-9d8d-958d784b8a7b-000000%40eu-central-1.amazonses.com.

Reply via email to