会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shmily3929
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2019年4月24日
django orm 时间处理
摘要: 说明 datetime 类型赋值: 数据库设置时区为:utc 系统设置时区为:'Asia/Shanghai' 1.赋值为:‘2019-04-24 15:00:00’ 数据库的结果为 ‘2019-04-24 07:00:00’ 查询获取结果为: ‘2019-04-24 07:00:00’ 时区为‘ut
阅读全文
posted @ 2019-04-24 15:11 shmily3929
阅读(1499)
评论(1)
推荐(0)
2019年3月8日
django 在非空的字段里插入现象表述
摘要: 1.char 类型设置为非空 对于字段不赋值 默认储存为''(空字符串) 2.int 类型设置为非空 对于字段不赋值 单条插入 报错 多条数据同时插入 默认设置为0
阅读全文
posted @ 2019-03-08 18:13 shmily3929
阅读(320)
评论(0)
推荐(0)
2019年1月3日
celery 学习
摘要: 1. 列出计划的ETA任务(worker) celery -A proj inspect scheduled 参考文档:http://docs.celeryproject.org/en/latest/userguide/monitoring.html
阅读全文
posted @ 2019-01-03 19:54 shmily3929
阅读(117)
评论(1)
推荐(0)
2018年12月26日
django-debug-toolbar 使用
摘要: https://pypi.org/project/django-debug-toolbar/ https://django-debug-toolbar.readthedocs.io/en/latest/
阅读全文
posted @ 2018-12-26 19:52 shmily3929
阅读(145)
评论(0)
推荐(0)
2018年12月12日
uwsgi erro
摘要: #原因: openssl 版本比较久 或者系统存在多个openssl 版本 # 解决问题 卸载原有的openssl 并且下载新的openssl (或者指定openssl)
阅读全文
posted @ 2018-12-12 16:36 shmily3929
阅读(871)
评论(1)
推荐(0)
2018年12月4日
mysql每个表总的索引大小
摘要: /* 指定的数据库 每个表的索引 不包含主键索引的大小*/ select TABLE_NAME, concat(truncate(data_length/1024/1024,2),'mb') as data_size, concat(truncate(index_length/1024/1024,2),'mb') as index_size from information_schema....
阅读全文
posted @ 2018-12-04 15:17 shmily3929
阅读(300)
评论(0)
推荐(0)
mysql 查看单个表每个索引的大小
摘要: 错误说明:用户名权限不够
阅读全文
posted @ 2018-12-04 15:11 shmily3929
阅读(1192)
评论(0)
推荐(0)
2018年11月27日
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qvc66dfs/supervisor/
摘要: # 解决 sudo pip3 install supervisor
阅读全文
posted @ 2018-11-27 11:28 shmily3929
阅读(549)
评论(0)
推荐(0)
2018年11月15日
CentOS 安装openssl
摘要: https://blog.csdn.net/ydyang1126/article/details/72902113 安装环境: 操作系统:CentOS 7 OpenSSL Version:openssl-1.0.2f.tar.gz OpenSSL地址为http://www.openssl.org/s
阅读全文
posted @ 2018-11-15 18:27 shmily3929
阅读(1395)
评论(0)
推荐(0)
libc.so.6: version GLIBC_2.14 not found
摘要: https://blog.csdn.net/heylun/article/details/78833050
阅读全文
posted @ 2018-11-15 18:22 shmily3929
阅读(123)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告