随笔分类 -  5.01 |— DRF

摘要:Django REST framework Tutorial 教程 码云:https://gitee.com/venicid/tutorial-api 阅读全文
posted @ 2019-12-09 22:42 venicid 阅读(333) 评论(0) 推荐(0)
摘要:1、Tutorial 6: ViewSets & Routers 视图集与路由器 0、文档 https://q1mi.github.io/Django-REST-framework-documentation/tutorial/6-viewsets-and-routers_zh/ https://w 阅读全文
posted @ 2019-12-09 21:19 venicid 阅读(292) 评论(0) 推荐(0)
摘要:1、关系和超链接 0、文档 https://www.django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis/ https://q1mi.github.io/Django-REST-framework-docume 阅读全文
posted @ 2019-12-09 17:54 venicid 阅读(289) 评论(0) 推荐(0)
摘要:1、认证和权限 0、文档 https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/ https://q1mi.github.io/Django-REST-framework-documentati 阅读全文
posted @ 2019-12-09 16:10 venicid 阅读(322) 评论(0) 推荐(0)
摘要:1、CBV 0、文档 https://q1mi.github.io/Django-REST-framework-documentation/tutorial/3-class-based-views_zh/ https://www.django-rest-framework.org/tutorial/ 阅读全文
posted @ 2019-12-09 14:24 venicid 阅读(352) 评论(0) 推荐(0)
摘要:1、请求和响应 1、文档 https://www.django-rest-framework.org/tutorial/2-requests-and-responses/ https://q1mi.github.io/Django-REST-framework-documentation/tutor 阅读全文
posted @ 2019-12-09 11:13 venicid 阅读(227) 评论(0) 推荐(0)
摘要:1、序列化 1、官方教程 https://q1mi.github.io/Django-REST-framework-documentation/tutorial/1-serialization_zh/ https://www.django-rest-framework.org/tutorial/1- 阅读全文
posted @ 2019-12-09 10:16 venicid 阅读(371) 评论(0) 推荐(0)
摘要:访问groups时,后端报警告 参考blog https://www.cnblogs.com/zhengyionline/p/9232491.html 看到,其实是未排序 方法1:view中取queryset对象实例时 方法2:models中ordery 修改后即可 阅读全文
posted @ 2019-12-08 20:49 venicid 阅读(218) 评论(0) 推荐(0)