会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
XiaoPawnYe
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2021年6月8日
5.DRF视图
摘要: 文章目录 1. 视图2. 两个视图基类1. APIView2 GenericAPIView Django REST fr...
阅读全文
posted @ 2021-06-08 08:52 阿无oxo
阅读(28)
评论(0)
推荐(0)
2021年6月6日
3.Request和Response
摘要: 文章目录 1. Request常用属性1).data2).query_params 2.Response2.1 构造方式...
阅读全文
posted @ 2021-06-06 22:48 阿无oxo
阅读(76)
评论(0)
推荐(0)
4.序列化器-Serializer
摘要: 文章目录 序列化器-Serializer1. 定义序列化器2.创建Serializer对象3.序列化器的使用3.1 序列化3.2 ...
阅读全文
posted @ 2021-06-06 12:26 阿无oxo
阅读(107)
评论(0)
推荐(0)
2021年6月1日
Pytest的使用
摘要: 1.Pytest安装和介绍 1. Pytest介绍 pytest是python的一种单元测试框架,同自带的Unittest测试框架类...
阅读全文
posted @ 2021-06-01 08:50 阿无oxo
阅读(84)
评论(0)
推荐(0)
2021年5月30日
2.DRF的简单应用
摘要: 1. Django Rest_Framework 核心思想: 缩减编写api接口的代码 Django REST framework是...
阅读全文
posted @ 2021-05-30 11:01 阿无oxo
阅读(69)
评论(0)
推荐(0)
2021年5月29日
RESTfulAPI规范
摘要: 1. 域名 应该尽量将API部署在专用域名之下。 https://api.example.com 如果确定API很简单,不会有进一步...
阅读全文
posted @ 2021-05-29 16:11 阿无oxo
阅读(137)
评论(0)
推荐(0)
2021年5月28日
8.后台管理
摘要: 后台管理 1.后台管理页面之首页 2.后台管理页面之文章添加页 1.首页 base.html 1.引入backend.cs...
阅读全文
posted @ 2021-05-28 07:15 阿无oxo
阅读(384)
评论(0)
推荐(0)
2021年5月24日
运行Django时浏览器中遇到Refused to display ‘url‘ in a frame because it set ‘X-Frame-Options‘ to ‘deny‘
摘要: 问题:Refused to display ‘url’ in a frame because it set ‘X-Frame-Opt...
阅读全文
posted @ 2021-05-24 20:38 阿无oxo
阅读(71)
评论(0)
推荐(0)
2021年4月14日
windows下安装Pillow
摘要: 步骤一:python -m pip install --upgrade pip步骤二:python -m pip install -...
阅读全文
posted @ 2021-04-14 21:14 阿无oxo
阅读(58)
评论(0)
推荐(0)
BBS:1表结构设计
摘要: 0.博客数据库结构图 1.用户表:UserInfo 字段名字段类型补充nidAutoFieldprimary_key=Truete...
阅读全文
posted @ 2021-04-14 21:04 阿无oxo
阅读(90)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告