#34378: Using in_bulk() with id_list and order_by()
-------------------------------------+-------------------------------------
     Reporter:  Ekaterina            |                    Owner:  nobody
  Vakhrusheva                        |
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  4.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  ib_bulk              |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Ekaterina Vakhrusheva):

 Replying to [comment:1 Mariusz Felisiak]:
 > Ordering was removed in #15116, however we shouldn’t clear it anymore
 because dictionaries preserve the order, so it's not useless.

 i think, this is not useless, not only because dictionaries preserve the
 order, but also because the order of the elements of the queryset affects
 the value returned by .distinct()

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34378#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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070186a12bb8d2-cb41f55c-4570-490f-a35b-c7d034740ca2-000000%40eu-central-1.amazonses.com.

Reply via email to