#15523: IndexError: 'tuple index out of range' when using deffered fields and annotations ------------------------------------------+--------------------------------- Reporter: milosu | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: 1.2 Keywords: | Triage Stage: Unreviewed Has patch: 1 | ------------------------------------------+--------------------------------- Trying to annotate queryset with Count() and at the same time using only or defer yields exception in queryset iterator (IndexError: 'tuple index out of range').
patch + test case attached -- Ticket URL: <http://code.djangoproject.com/ticket/15523> Django <http://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.
