ORM

メソッド戻り値
values()dict
values_list()tuple list
values_list(flat=True)list

REF

  • https://stackoverflow.com/questions/53239534/extract-only-values-without-key-from-queryset-and-save-them-to-list