Changes between Initial Version and Version 2 of Ticket #34378


Ignore:
Timestamp:
Mar 2, 2023, 1:10:22 AM (19 months ago)
Author:
Ekaterina Vakhrusheva
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34378 – Description

    initial v2  
    2929A user with id 2693 has several locations that differ in the date_create. The most recent is with a time of **15:17**. When sorting queryset by “-date_create” I want to get the most recent record. Therefore, the sorting is reset when passing the id_list parameter.
    3030
    31 In my opinion, the sorting from queryset was removed before it was possible to pass different field_name to the in_bulk() method. Apparently, it was not taken into account that when sorting is reset, the result obtained when using DISTINCT changes.
     31In my opinion, the sorting from queryset was removed before it became possible to pass different field_name to the in_bulk() method. Apparently, it was not taken into account that when sorting is reset, the result obtained when using DISTINCT changes.
    3232
    3333[https://forum.djangoproject.com/t/using-in-bulk/19192]
Back to Top