在 django generic.DetailView 里设置缓存(重写 get_object ) 开发环境 django 1.11 DetailView 的相关源码 # ..\Lib\site-packages\django\views\generic\dates.py class Da ... continue reading django zhuoyuebiji 2020/2/27 904
Django assignment_tag 赋值标签 赋值标签¶(保存模板变量的值) django.template.Library.assignment_tag()¶ 为了简单化设置上下文中变量的标签的创建,Django 提供一个辅助函数assignment_ ... continue reading django zhuoyuebiji 2019/10/30 903
使用 fiddler 脚本按指定编码保存到文件 在使用 Fiddler 脚本来操作文件时,特别是当需要控制文件的编码方式时,你需要利用 FiddlerScript 中的一些特定方法和对象。不过,直接使用ActiveXObject 创建 Script ... continue reading 软件测试 zhuoyuebiji 2024/3/27 899
命令行的艺术 https://github.com/jlevy/the-art-of-command-line/blob/master/README-zh.md 🌍 Čeština ∙  ... continue reading 软件测试 zhuoyuebiji 2019/6/6 898
怎么用 PS 制作印章?PS 制作印章教程 怎么用 PS 制作印章?印章是一种用于鉴定或签署文件的工具,如果你想给电子文档也加上印章,那么可以利用PS软件来制作一个印章。其实PS制作印章的方法很简单,下面我们一起来看看PS制作印章的具体操作步骤吧。 印章制作方法/步骤 ... continue reading Photoshop zhuoyuebiji 2020/6/28 894
FiddlerDecryption(fiddler Inspectors 插件开发) FiddlerDecryption 功能:实时解密接口数据并格式化展示。 github: https://github.com/Gdeeer/FiddlerDecryption 代码内容: D ... continue reading 软件测试 zhuoyuebiji 2020/7/27 879
Django MemCache 缓存使用方法和源码 常用方法 from django.core.cache import cache def view_test(request): # 获取 cache 中 my_key 的值 var = cache.get("m ... continue reading django zhuoyuebiji 2019/11/9 877
Linux scp 无密码复制文件 目的:本地服务器(local)复制文件到远程服务器(remote) 本地服务器:local 远程服务器:remote (192.168.1.254) 1. 在 local 上运行 ssh-keygen -t rsa 在 / ... continue reading centos zhuoyuebiji 2019/8/13 873
认识和使用 Hermes Agent 开源自主学习 AI 智能体 Hermes Agent 是什么? Hermes Agent 是由 Nous Research 开发的一款开源、具有自我进化能力的 AI 智能体(Agent)框架。 它在 2026 年初迅速走红,被开发者昵称为“爱马 ... continue reading AI 大模型 zhuoyuebiji 2026/4/15 873
Error: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM stroke_rank_top WHERE create_date=20250303 AN 完整错误提示 Error: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ... continue reading mysql zhuoyuebiji 2025/3/11 868