#11890: Defer/only + annotate is broken
-------------------------------------+-------------------------------------
Reporter: | Owner: ruosteinen
jaklaassen@… | Status: assigned
Type: Bug | Component: Database layer
Milestone: 1.3 | (models, ORM)
Version: SVN | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 1 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Comment (by mrmachine):
I've tried, but can't reproduce a problem with the select/extra tests in
r16510. Reading the test case, I'm not sure it was valid in the first
place. It creates 10 `Candy` objects with `qty` of 42, then tests that the
Sum is 378 - that never would have been correct.
The issues in the original report have been fixed in [16522]. Although the
symptoms changed (raising an IndexError instead of returning an empty
queryset), the fix was the same. I believe the symptoms probably changed
due to underlying changes in Django since this ticket was reported.
--
Ticket URL: <https://code.djangoproject.com/ticket/11890#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.