#25509: Make QuerySet.__repr__ less confusing
-------------------------------------+-------------------------------------
               Reporter:  aaugustin  |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:  Database   |        Version:  master
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:  Accepted   |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 As discussed on #django-dev:

 {{{
 [22:06:04]  <+mYk>      AssertionError: ['1.8', '1.7', '1.4'] != ['1.8',
 '1.7', '1.4'] <= no comment.
 [22:07:36]  <+mYk>      (yes, I know assertQuerySetEqual)
 [22:18:05]  <+Alex_Gaynor>      mYk: Should we just change repr(queryset)?
 It's "obviously" wrong
 [22:18:17]  <+Alex_Gaynor>      QuerySet([...]) would save a lot of
 confused debugging
 [22:18:28]  <+mYk>      yes it would
 [00:03:30]  <+carljm>   +Alex_Gaynor: +1
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25509>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.8f5cc29cde0c3ae45595f3845e139d09%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to