2020年1月15日
摘要: 方式一 from django.core import serializers 导入模块 res = serializers.serialize('json', hosts_list) return HttpResponse(res) 方式二 res = hosts_list.values('hos 阅读全文
posted @ 2020-01-15 00:18 Treelight 阅读(185) 评论(0) 推荐(0) 编辑