摘要:
1.APIView基本使用 1.1 使用View+JsonResponse写 class BookView(View): def get(self, request): book_list = Book.objects.all() res_list = [] for book in book_lis 阅读全文
posted @ 2022-09-26 18:28
shangxin_bai
阅读(37)
评论(0)
推荐(0)
摘要:
1.前后端开发模式 后端人员写前后端混合开发项目 ==》使用模板语法渲染 后端人员写前后端分离项目 ==》后端人员只负责写API,使用postman来测试接口,前端的人专门做前端,写的时候使用mock测试数据,最后进行前后端联调,有错误的地方负责的人再去改 2.restful规范 restful规范 阅读全文
posted @ 2022-09-26 15:48
shangxin_bai
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号