01 2022 档案
django问题汇总
摘要:1、CSRF verification failed. Request aborted. 解决:在提交前form的页面上添加 {% csrf_token %} 阅读全文
posted @ 2022-01-28 14:02 bruce.sharp 阅读(37) 评论(0) 推荐(0)
Vue笔记1
摘要:1 阅读全文
posted @ 2022-01-25 16:48 bruce.sharp 阅读(16) 评论(0) 推荐(0)
常用shell命令
摘要:1、查看相关进程 ps -ef |grep xxx |grep -v grep |wc -l grep -v:反向选择 2、kill相关应用 ps -ef |grep xxx |grep -v grep |print '{$2}' |xargs -i kill -9 {} xargs -i 用打印出 阅读全文
posted @ 2022-01-25 15:42 bruce.sharp 阅读(22) 评论(0) 推荐(0)
Django笔记1
摘要:1、html语法使用 {{json中的名称}} {% python语句%} 》 eg:{% for i in list %} <tr>...... {% endfor %} 2、命令创建django的application 》 python manage.py startapp app名字3、路径的 阅读全文
posted @ 2022-01-21 15:05 bruce.sharp 阅读(39) 评论(0) 推荐(0)
python的框架1-swgi使用
摘要:内置web服务器例子: from wsgiref.simple_server import make_serverdef f1(): return [b'<h1>book</h1>']def f2(): return [b'<h1>test</h1>']def f3(): return [b'<h1 阅读全文
posted @ 2022-01-20 13:37 bruce.sharp 阅读(150) 评论(0) 推荐(0)
zookeeper开发
摘要:1 阅读全文
posted @ 2022-01-13 15:50 bruce.sharp 阅读(15) 评论(0) 推荐(0)
git的安装和使用
摘要:下载地址:https://git-scm.com/download 1、流程图 设置用户信息: git config --global user.name "itcast" 用户名 git config --global user.email "zhouming@itcast.cn" 邮箱 查看信息 阅读全文
posted @ 2022-01-12 09:05 bruce.sharp 阅读(244) 评论(0) 推荐(0)