test1 = Person.objects.filter(name="yyp",age=100) result = { 'str': list(test1.values()) } 再将result采用JsonResponse返回即可
claves
知之为不知