会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zxy01
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
22
下一页
2021年6月1日
find in path
摘要: 查找:find in path
阅读全文
posted @ 2021-06-01 23:55 zxy_ang
阅读(25)
评论(0)
推荐(0)
2021年4月6日
项目所需httprunner
摘要: pipenv install httprunner=1.5.8
阅读全文
posted @ 2021-04-06 21:23 zxy_ang
阅读(18)
评论(0)
推荐(0)
2021年3月11日
source root
摘要: setting:# 将子应用所属目录(apps)加入到Python的模块搜索路径中sys.path.insert(0, os.path.join(BASE_DIR, 'apps'))注意pycharm的sourceroot要与run时候的woringDictory保持一致 用from…import添
阅读全文
posted @ 2021-03-11 20:29 zxy_ang
阅读(542)
评论(0)
推荐(0)
2021年3月6日
初版serializers
摘要: # __author: "ZXYang"# date: 2021/1/2from rest_framework import serializersfrom rest_framework.validators import UniqueValidatorfrom interfaces.seriali
阅读全文
posted @ 2021-03-06 17:36 zxy_ang
阅读(54)
评论(0)
推荐(0)
2021年2月28日
重写:输入和输出
摘要: # to_internal_value方法为反序列化输入的入口方法def to_internal_value(self, data): tmp = super().to_internal_value(data) tmp['project'] = tmp.pop('project_id') retur
阅读全文
posted @ 2021-02-28 20:05 zxy_ang
阅读(72)
评论(0)
推荐(0)
前后调试
摘要: 1.查看console是否报错; 2.查看network是否发起请求;返回内容有什么; 3.查看相应状态码,对代码进行调试(debug排查)
阅读全文
posted @ 2021-02-28 10:25 zxy_ang
阅读(50)
评论(0)
推荐(0)
2021年2月23日
re
摘要: # __author: "ZXYang"# date: 2020/4/23import refrom re import findall# ret = re.findall('w..l', 'hello world')# print(ret)# ^# ret = re.findall('^w..l'
阅读全文
posted @ 2021-02-23 21:50 zxy_ang
阅读(107)
评论(0)
推荐(0)
2021年2月22日
eval
摘要: #【尽量少用】 x = 7 eval( '3 * x' ) 21 eval('2 + 2') 4 n=81 eval("n + 4") 85
阅读全文
posted @ 2021-02-22 22:00 zxy_ang
阅读(62)
评论(0)
推荐(0)
2021年1月31日
问题:数据迁移失败
摘要: 第一步 ,卸载Django,pip uninstall Django 第二步,此时/Lib/site-packages包里面还有残余的Django文件夹,删除它 第三步,删除项目中所有 pycache 文件夹,删除 migrations 下的文件保留 init .py. 第三步,重新安装对应版本的D
阅读全文
posted @ 2021-01-31 20:55 zxy_ang
阅读(145)
评论(0)
推荐(0)
2021年1月23日
httprunner:testcases--testcase_projects_list.yml
摘要: # yaml出现多个variables,优先级:testsuites parameters> testsuites config> testsuites variables > testcases config > extract > testcase teststep > api# base_ur
阅读全文
posted @ 2021-01-23 22:39 zxy_ang
阅读(133)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
22
下一页
公告