随笔 - 192,  文章 - 1,  评论 - 6,  阅读 - 51476
07 2021 档案
django-restframwork filter查询源码分析
摘要:视图类继承了ListModelMixin类 class ListModelMixin(object): """ List a queryset. """ def list(self, request, *args, **kwargs): queryset = self.filter_queryset 阅读全文
posted @ 2021-07-15 20:47 輪滑少年 阅读(110) 评论(0) 推荐(0) 编辑
Cntent-Type
摘要:再调用远端接口时,特别时post接口,要注意远端接口传参数的数据格式。 最常用的有 def post(self): status, resp = auth.authorized_request( path='{}{}'.format(HOST, self.url), method='POST', a 阅读全文
posted @ 2021-07-14 17:09 輪滑少年 阅读(120) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示