上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 29 下一页
摘要: 1、apscheduler未安装的需要自己安装,安装命令如下: pip install apscheduler 2、apscheduler库有很多不同类型的调度器,其他我也不懂,只知道BlockingScheduler与BackgroundScheduler,这是比较常用的两种 区别主要在于Bloc 阅读全文
posted @ 2022-03-31 19:54 香菜哥哥 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 第一步:setting.py配置 EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_USE_TLS = False # 是否使用TLS安全传输协议(用于在两个通信应用程序之间提供保密性和数据完整性。) EMAIL_ 阅读全文
posted @ 2022-03-31 19:48 香菜哥哥 阅读(241) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_41981080/article/details/81912941 阅读全文
posted @ 2022-03-31 11:16 香菜哥哥 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Django Models 多条件查询 以及Q/F查询:https://my.oschina.net/esdn/blog/834943 Django的数据库查询:https://blog.csdn.net/qq_28452411/article/details/86545481 查询:https:/ 阅读全文
posted @ 2022-03-30 18:08 香菜哥哥 阅读(51) 评论(0) 推荐(0) 编辑
摘要: https://jquery.cuishifeng.cn/removeData.html https://jquery.com/download/ 阅读全文
posted @ 2022-03-30 17:27 香菜哥哥 阅读(20) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/cmzsteven/article/details/64906245 阅读全文
posted @ 2022-03-29 11:21 香菜哥哥 阅读(12) 评论(0) 推荐(0) 编辑
摘要: setting配置 # settings配置 import ldap from django_auth_ldap.config import LDAPSearch AUTHENTICATION_BACKENDS = ( # 配置为先使用LDAP认证,如通过认证则不再使用后面的 'django_aut 阅读全文
posted @ 2022-03-28 11:51 香菜哥哥 阅读(446) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-03-08 10:42 香菜哥哥 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 背景是这样的: 自己写了一套接口自动化的框架,其中使用unittest + ddt + mysql作为数据驱动模式的应用,使用HtmlTetstRunner来生成测试用例。 一切看起来很完美。 但是,发现测试报告中,测试用例名称都是:test_api_index.index表示用例的编号,从1开始, 阅读全文
posted @ 2022-02-23 11:27 香菜哥哥 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 一个完整的程序离不开日志,无论是开发阶段,还是测试阶段,亦或程序运行阶段,都可以通过日志查看程序的运行情况,或是定位问题。 下面是对 python3 的日志库 logging 进行了封装,对于大部分的需求应该是能满足的。 程序结构: |--logger.py | |--singleton.py | 阅读全文
posted @ 2022-02-16 11:01 香菜哥哥 阅读(858) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 29 下一页