摘要: 当ssh远程连接阿里云时: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@ 阅读全文
posted @ 2019-02-28 21:48 笃行1995 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 原因是: 阅读全文
posted @ 2018-12-25 18:03 笃行1995 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-12-10 21:14 笃行1995 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 可能是下面几种情况导致出现的上面错误: 阅读全文
posted @ 2018-12-10 16:43 笃行1995 阅读(19485) 评论(1) 推荐(1) 编辑
摘要: 所以在list_editable某些字段的时候需要查看该字段的约束条件是否符合 阅读全文
posted @ 2018-11-28 19:23 笃行1995 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: In general, this can occur when there is a genuine Cross Site Request Forgery, or when Django's CSRF mechanism has not been used correctly. For POST f 阅读全文
posted @ 2018-11-27 16:15 笃行1995 阅读(290) 评论(0) 推荐(0) 编辑
摘要: sqlite3库连接失败,很有可能是首先查看是否现在驱动 阅读全文
posted @ 2018-11-27 12:19 笃行1995 阅读(2069) 评论(0) 推荐(0) 编辑
摘要: django-1.11) F:\crm>python manage.py makemigrationsSystemCheckError: System check identified some issues: ERRORS:auth.User.groups: (fields.E304) Rever 阅读全文
posted @ 2018-11-23 17:49 笃行1995 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 一、安装 pip3 install pymysql 二、使用操作 1、执行SQL import pymysql # 创建连接 conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='1234', db='tkq 阅读全文
posted @ 2018-10-08 14:58 笃行1995 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Counter 这是一个继承dict的子类,专门用来做计数器,dict中的方法这里同样适用 from collections import Counter其中数学运算如果其中一方的不存在,则会默认创建对应键,值为0的键值对 counter = Counter("accab") # Counter({ 阅读全文
posted @ 2018-09-05 14:55 笃行1995 阅读(207) 评论(0) 推荐(0) 编辑