会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Brin.Guo
Shoot for the moon. Even if you miss, you'll land among the stars.
博客园
首页
新随笔
联系
订阅
管理
2019年6月5日
rest_framework序列化
摘要: 1、序列化 1)拿到queryset 2)将queryset 给序列化类 serializer = IdcSerializer(idc) #单个对象 serializer = IdcSerializer(queryset, many=True) #多个对象的集合处理方法 3)转josn JSONRe
阅读全文
posted @ 2019-06-05 10:23 Brin.Guo
阅读(139)
评论(0)
推荐(0)
编辑
公告