会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
仙人小麦
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2020年5月4日
BootStrapForm组件
摘要: class BootStrapForm(): bootstrap_exclude = [] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) for name, field in self.fields.it
阅读全文
posted @ 2020-05-04 12:07 仙人小麦
阅读(155)
评论(0)
推荐(0)
编辑
2020年5月3日
组合筛选组件
摘要: <div class="col-sm-3"> <div class="panel panel-default"> <div class="panel-heading"> <i class="fa fa-search" aria-hidden="true"></i>筛选 </div> <div cla
阅读全文
posted @ 2020-05-03 18:27 仙人小麦
阅读(226)
评论(0)
推荐(0)
编辑
2020年4月28日
logger日志组件
摘要: def loggin(filename="test.log"): import logging loger = logging.Logger("loger") # 创建一个空壳子 fh = logging.FileHandler(filename=filename, mode="a", encodi
阅读全文
posted @ 2020-04-28 15:08 仙人小麦
阅读(183)
评论(0)
推荐(0)
编辑
2020年4月14日
常用docker命令(待续)
摘要: 1 , docker build -t xiaomai/flask .(当前目录) 构建镜像 --tag, -t: 镜像的名字及标签 2.docker run gochaochao/flask-hello-world 运行镜像 docker run -d gochaochao/flask-hello
阅读全文
posted @ 2020-04-14 15:10 仙人小麦
阅读(135)
评论(0)
推荐(0)
编辑
2020年4月11日
mac os 相关操作
摘要: 安装brew :/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 环境变量配置:export ‘PATH= 路径 :$PATH’ >> ~/.bash_
阅读全文
posted @ 2020-04-11 18:56 仙人小麦
阅读(112)
评论(0)
推荐(0)
编辑
2020年4月6日
python运行机制
摘要: 解释器是一种让其他程序运行起来的程序,它是代码与机器的计算机硬件之间的软件逻辑层,Python解释器就是能够让Python程序在机器上执行的一套程序。 当我们执行写好的Python代码时,Python解释器会执行两个步骤 1、把原始代码编译成字节码 编译后的字节码是特定于Python的一种表现形式,
阅读全文
posted @ 2020-04-06 16:17 仙人小麦
阅读(899)
评论(0)
推荐(0)
编辑
表单添加阴影
摘要: .account { width: 400px; margin-top: 30px; margin-left: auto; margin-right: auto; border: 1px solid #f0f0f0; padding: 10px 30px 30px 30px; -webkit-box
阅读全文
posted @ 2020-04-06 15:03 仙人小麦
阅读(347)
评论(0)
推荐(0)
编辑
2020年3月23日
Django中间件原理图
摘要: 紫色的箭头代表django1.10之前的流程
阅读全文
posted @ 2020-03-23 15:49 仙人小麦
阅读(185)
评论(0)
推荐(0)
编辑
2020年3月22日
session原理图
摘要:
阅读全文
posted @ 2020-03-22 17:06 仙人小麦
阅读(196)
评论(0)
推荐(0)
编辑
安装python
摘要: https://www.liaoxuefeng.com/wiki/1016959663602400/1016959856222624 第一种办法:运行cmd - pip install requests 运行cmd - pip install BeautifulSoup4 https://www.j
阅读全文
posted @ 2020-03-22 17:00 仙人小麦
阅读(135)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
下一页