会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
g37502
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2020年5月22日
模板语言
摘要: https://www.cnblogs.com/glf1160/p/8671674.html django网页中想做简单的运算操作也要借助过滤器!借助过滤器和divisibleby运算符就可以完成整除判断了,本来网页里的内容就不是专门用来做运算操作的简单的操作知道即可!例如对2整除的判断就可以写成:
阅读全文
posted @ 2020-05-22 10:40 g37502
阅读(78)
评论(0)
推荐(0)
编辑
2020年4月18日
mairadb 修改字符集
摘要: https://www.cnblogs.com/charles1ee/p/7210092.html https://blog.csdn.net/u014044812/article/details/48394271 表的字符集修改 https://blog.csdn.net/qq_27632921/
阅读全文
posted @ 2020-04-18 12:02 g37502
阅读(104)
评论(0)
推荐(0)
编辑
2020年4月16日
django 多数据库设置
摘要: https://www.jb51.net/article/176536.htm
阅读全文
posted @ 2020-04-16 14:07 g37502
阅读(81)
评论(0)
推荐(0)
编辑
2020年4月11日
django,nginx , uwsgi部署
摘要: https://blog.csdn.net/sinat_37170738/article/details/105359936?fps=1&locationNum=2
阅读全文
posted @ 2020-04-11 23:39 g37502
阅读(96)
评论(0)
推荐(0)
编辑
2020年4月9日
python django 创建app失败 升级sqlite3 或者修改数据库连接为mysql
摘要: https://blog.csdn.net/weixin_44110998/article/details/103499213 python3 manage.py startapp app01Traceback (most recent call last): File "manage.py", l
阅读全文
posted @ 2020-04-09 10:50 g37502
阅读(248)
评论(0)
推荐(0)
编辑
2020年4月3日
Decima json 化
摘要: class DecimalEncoder(json.JSONEncoder): def default(self, o): if isinstance(o, decimal.Decimal): return float(o) super(DecimalEncoder, self).default(o
阅读全文
posted @ 2020-04-03 16:00 g37502
阅读(200)
评论(0)
推荐(0)
编辑
2020年3月8日
openpyxl excel操作
摘要: https://www.cnblogs.com/fengf233/p/10880782.html
阅读全文
posted @ 2020-03-08 18:29 g37502
阅读(96)
评论(0)
推荐(0)
编辑
2020年2月19日
centos添加python虚拟环境
摘要: 1、安装python yum install python3 2、安装虚拟环境和扩展包 pip3 install --upgrade pip # 升级pip pip3 install virtualenv #安装虚拟环境 pip3 install virtualenvwrapper #安装扩展包 如
阅读全文
posted @ 2020-02-19 22:06 g37502
阅读(308)
评论(0)
推荐(0)
编辑
2019年12月23日
oracle的参数文件:pfile和spfile
摘要: 1、概念 pfile:初始化参数文件(Initialization parameters Files),文本文件 spfile:服务器参数文件(server Parameter Files) spfile默认文件名称为“init+实例名.ora" ,二进制文件,实例启动参数文件 2、查看spfile
阅读全文
posted @ 2019-12-23 17:25 g37502
阅读(306)
评论(0)
推荐(0)
编辑
修改 db_unique_name
摘要: SQL> alter system set db_unique_name='itid1' scope=spfile; System altered. SQL> shutdown immediate Database closed. Database dismounted. ORACLE instan
阅读全文
posted @ 2019-12-23 15:21 g37502
阅读(384)
评论(0)
推荐(0)
编辑