Django: values_list(flat=True) but for multiple fields

前端 未结 0 1696
野性不改
野性不改 2021-01-14 10:36

I have a model, TestModel

As far as I know, if I were to implement

TestModel.objects.values_list(\'FieldA\', flat=True)

This r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题