会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
None
博客园
首页
新随笔
联系
订阅
管理
2018年12月11日
$Django Rest Framework-序列化组件
摘要: 1 序列化组件 e=serializers.SerializerMethodField() # 方法名:叫get_字段名, 参数,返回字典 def get_e(self,obj): #obj为book对象 from app01 import models from rest_framework im
阅读全文
posted @ 2018-12-11 16:18 带飞
阅读(209)
评论(0)
推荐(0)
编辑
公告