Django require_http_methods、require_GET、require_POST、require_safe 源码路径 ..\Lib\site-packages\django\views\decorators\http.py 部分源码 """ Decorators for views based on HTTP header ... continue reading django zhuoyuebiji 2020/1/6 1177
Add a button/form/link to Django Admin(添加按钮、表单、链接到 django admin) 继承 change_list.html 模板 新模板 change_list_custom.html 继承 django admin 的 change_list.html Django a ... continue reading django zhuoyuebiji 2020/3/3 1177
ModuleNotFoundError: No module named 'django.core.urlresolvers' 原因是在 Django 2.x 版本上,revers 已经修改其他地方去了 try: from django.urls import reverse except ImportError: # Django < ... continue reading django zhuoyuebiji 2020/3/8 1177
Google 和 百度 SEO google 1. 注册账号:https://search.google.com/search-console 2. 提交 sitemap 百度 1. 注册账号:https://ziyuan.baidu.co ... continue reading django zhuoyuebiji 2019/7/10 1173
Locust 性能测试工具使用资料 认识和安装 locust https://www.cnblogs.com/imyalost/p/9758189.html https://docs.locust.io/en/stable/installation ... continue reading 软件测试 zhuoyuebiji 2020/9/17 1164
Github Two-factor authentication (2FA) is required for your GitHub account 两步验证 问题现象: 登录 github 提示“Two-factor authentication (2FA) is required for your GitHub account”,下载其他的验证器比较麻烦,开启手机 ... continue reading 计算机基础 zhuoyuebiji 2024/2/26 1161
树莓派 + frp + 公网服务器,实现自定义域名内网穿透,暴露内网服务在公网(多 ssh, 多 web) 认识 FRP FRP 是 Fast Reverse Proxy 的缩写,一款支持 TCP/UDP 快速反向代理的开源软件,可以很方便的内网穿透。和花生壳、Ngrok 等不同,FRP 客户端和服务端的控制权都在自己手中,这也意味着你需要 ... continue reading 树莓派 zhuoyuebiji 2020/6/7 1160
软件测试的常见的业务形态有哪些 软件测试的业务形态根据应用场景和行业需求的不同,可分为以下几类,涵盖商城、小游戏、社交、影音、金融、办公、地图、医疗、物联网、教育直播等典型领域: 1. 商城类应用测试 商城类软件(如电商平台)的测试核心在于交易流程、支付安全和 ... continue reading 软件测试 zhuoyuebiji 2025/2/26 1157
Django2 TypeError: RedirectView() received an invalid keyword 're_path'. as_view only accepts arguments that are already attributes of the class. django2 报错: TypeError: RedirectView() received an invalid keyword 're_path'. as_view only accepts arguments t ... continue reading django zhuoyuebiji 2020/5/20 1154
Pycharm 2019.2 使用小技巧 技巧 1:文本变字符串 步骤: 选中 文本 按下 单引号 或者 双引号 技巧 2:给函数 或者 类 添加说明 步骤: 在 函数 或 类 的头部 输入 """ ... continue reading django zhuoyuebiji 2020/1/10 1153