#29108: QuerySet.distinct().order_by()[slice].count() crashes with "TypeError: 
can
only concatenate tuple (not "list") to tuple"
-------------------------------------+-------------------------------------
     Reporter:  Stephen Brooks       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:  TypeError list       |             Triage Stage:  Accepted
  tuple                              |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * component:  Uncategorized => Database layer (models, ORM)
 * stage:  Unreviewed => Accepted
 * type:  Uncategorized => Bug
 * severity:  Normal => Release blocker


Comment:

 I reproduced with
 `Book.objects.distinct().order_by('publisher__name')[:20].count()` for
 `tests/aggregation` (not the right place commit the test). Bisected to
 4acae21846f6212aa992763e587c7e201828d7b0.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29108#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.b6d2f6f34af4bf0c1277f9d41d41f992%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to