#16409: `defer()` and `only()` don't play nice with `annotate()` -------------------------------------+------------------------------------- Reporter: mrmachine | Owner: nobody Type: Bug | Status: new Milestone: 1.4 | Component: Database layer Version: SVN | (models, ORM) Resolution: | Severity: Normal Triage Stage: | Keywords: annotate defer only Unreviewed | count Needs documentation: 0 | Has patch: 1 Patch needs improvement: 0 | Needs tests: 0 UI/UX: 0 | Easy pickings: 0 -------------------------------------+-------------------------------------
Comment (by mrmachine): Updated tests to use `assertIsInstance`. The test checks that the queryset can be successfully iterated through without raising an exception by converting it to a list. -- Ticket URL: <https://code.djangoproject.com/ticket/16409#comment:3> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.