#33772: Queryset first() returns different result than queryset[0] when using
ExpressionWrapper
-------------------------------------+-------------------------------------
Reporter: Pablo Pissi | Owner: Pablo
Type: | Pissi
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
ExpressionWrapper,first,queryset |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Pablo Pissi):
* has_patch: 0 => 1
Comment:
Hi!
I've created this PR. I've also updated the last() function:
https://github.com/django/django/pull/15769
--
Ticket URL: <https://code.djangoproject.com/ticket/33772#comment:10>
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/010701815aa58327-395bba81-7f91-4d67-9912-2abfa8e9e75a-000000%40eu-central-1.amazonses.com.