上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页
摘要: <template> <section> <h1>hello world~</h1> </section> </template> <script> export default { data() { return { timer: '', value: 0 }; }, methods: { get 阅读全文
posted @ 2020-12-23 19:26 睁yan-ii 阅读(2457) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: if request.META.get('HTTP_X_FORWARDED_FOR'): ip = request.META.get("HTTP_X_FORWARDED_FOR") else: ip = request.META.get("REMOTE_ADDR") print("ip : ", i 阅读全文
posted @ 2020-12-18 21:11 睁yan-ii 阅读(365) 评论(0) 推荐(0) 编辑
摘要: def my_decorator(func): def wrapper(request,*args,**kwargs): print('装饰器被调用了') return func(request,*args,**kwargs) # 调 post 方法 return wrapper 调用 阅读全文
posted @ 2020-12-18 21:10 睁yan-ii 阅读(54) 评论(0) 推荐(0) 编辑
摘要: html <div class="button"><van-button type="info" v-show="show" @click="getCode">获取验证码</van-button><van-button type="info" v-show="!show" class="count" 阅读全文
posted @ 2020-12-18 21:07 睁yan-ii 阅读(1555) 评论(0) 推荐(0) 编辑
摘要: from django.utils.deprecation import MiddlewareMixin class Myddleware(MiddlewareMixin): def process_request(self, request): pass def process_view(self 阅读全文
posted @ 2020-12-18 21:06 睁yan-ii 阅读(98) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页