#34206: annotation of another annotation duplicate query rule
-------------------------------------+-------------------------------------
Reporter: Mohammad99k | Owner: Mohammad
| karimi
Type: Bug | Status: new
Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: annotate | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mohammad99k):
Replying to [comment:4 Mariusz Felisiak]:
> Thanks for this ticket, however, as far as I'm aware, your proposition
is not doable as aliases cannot be created and used in the same `SELECT`
clause (see also #10060 and
[https://docs.djangoproject.com/en/4.1/topics/db/aggregation/ docs]). If
you're having trouble getting the result you want, see
TicketClosingReasons/UseSupportChannels for ways to get help.
How can I fixed this issue?
--
Ticket URL: <https://code.djangoproject.com/ticket/34206#comment:6>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/01070184f6ba7f79-a40de4cc-0fa9-4d54-a89f-452d3cdf72bb-000000%40eu-central-1.amazonses.com.