摘要: redis 版本 pip install redis==2.10.6 settings.py CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", "LOCATION": "redis://127.0.0.1:6379 阅读全文
posted @ 2020-12-22 20:00 睁yan-ii 阅读(280) 评论(0) 推荐(0) 编辑
摘要: import pymongo mongo_client=pymongo.MongoClient(host='localhost',port=27017) db=mongo_client.myip table=db.myabac # 存入 table_echart.insert({}) aaa=tab 阅读全文
posted @ 2020-12-22 19:54 睁yan-ii 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 一、在dev分支上运行以下命令 1. git add . // 暂存所有更改 2. git commit -m "更改的备注信息" // 将修改 提交到本地仓库,双引号内是提交的备注信息 3. git pull origin dev // 拉取远程dev分支代码 4. git push origin 阅读全文
posted @ 2020-12-22 19:51 睁yan-ii 阅读(4143) 评论(0) 推荐(1) 编辑
摘要: reids 版本 redis 2.10.6 import redis from idlelib.IOBinding import encoding from pip.utils import Inf pool=redis.ConnectionPool(host='192.168.1.106',por 阅读全文
posted @ 2020-12-22 19:48 睁yan-ii 阅读(108) 评论(0) 推荐(0) 编辑
摘要: git reset --hard 报错信息 error: unable to create symlink ssl: Permission denied fatal: Could not reset index file to revision 'HEAD' 阅读全文
posted @ 2020-12-22 19:46 睁yan-ii 阅读(6150) 评论(0) 推荐(0) 编辑