django-pivot icon indicating copy to clipboard operation
django-pivot copied to clipboard

Pivot returns List instead of ValuesQueryset

Open Gogicool-geek opened this issue 2 years ago • 3 comments

Hello! I the revision 1.9.0 Pivot returned ValuesQueryset, but in the revision 1.10.0 it returns List:

#rev 1.9.0
..
values_list = queryset.values(*values).annotate(**annotations)
..

#rev 1.10.0
..
values_list = [_swap_dictionary_keys(result, column_alias_map)
                   for result in queryset.values(*values).annotate(**annotations)]
..

Is it posible to return Queryset again?

Gogicool-geek avatar Oct 12 '23 04:10 Gogicool-geek