#33772: Queryset first() returns different result than queryset[0] when using
ExpressionWrapper
-------------------------------------+-------------------------------------
Reporter: Pablo Pissi | Owner: Pablo
Type: | Pissi
Cleanup/optimization | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
ExpressionWrapper,first,queryset | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"d287294885e116c49c87f0c663068511a8402c0f" d2872948]:
{{{
#!CommitTicketReference repository=""
revision="d287294885e116c49c87f0c663068511a8402c0f"
Fixed #33772 -- Added QuerySet.first()/last() error message on unordered
queryset with aggregation.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33772#comment:12>
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/0107018161e04dd1-f022aa6c-f8b6-41b7-86aa-86fd4ecffe87-000000%40eu-central-1.amazonses.com.