会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
你脱发吗
博客园
首页
新随笔
联系
订阅
管理
2022年6月15日
序列化类Serializer的反序列化、局部和全局钩子、 序列化类ModelSerializer的使用
摘要: 序列化反序列化概念: 序列化类Serializer的反序列化 使用drf的APIView写5个接口 '''views.py''' class BookAPIView(APIView): def get(self, request, bid): if bid: book = models.Book.o
阅读全文
posted @ 2022-06-15 17:36 香菜根
阅读(85)
评论(0)
推荐(0)
编辑
公告