14 | | |
15 | | and then if you want to do: B.objects.all().select_related('a').select_for_update(of=('self', 'a')) , that works |
16 | | but the same with a values_list: B.objects.all().select_related('a').select_for_update(of=('self', 'a')).values_list('pk', 'a__foo'), that does not work and results in something like (I have different class names in my code) |
17 | | |
| 14 | }}} |
| 15 | and then if you want to do: `B.objects.all().select_related('a').select_for_update(of=('self', 'a'))`, that works |
| 16 | but the same with a values_list: `B.objects.all().select_related('a').select_for_update(of=('self', 'a')).values_list('pk', 'a__foo')`, that does not work and results in something like (I have different class names in my code) |
| 17 | {{{ |