摘要: 在注册页面生成验证码的时候,出现错误如下: build_attrs() takes from 1 to 2 positional arguments but 3 were given, 不知道为什么报错. 我的环境是 python3.6.4 django==1.11 后来将验证码插件的版本更改了, 阅读全文
posted @ 2018-09-27 15:09 修瑾 阅读(491) 评论(0) 推荐(0) 编辑
摘要: Error: An error occurred while installing scrapy! Failed building wheel for Twisted 或者lxmlCommand "c:\users\jp\.virtualenvs\scrapy-qa89lxkd\scripts\py 阅读全文
posted @ 2018-09-26 22:12 修瑾 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 首先用pipenv安装xadmin pipenv install xadmin 下载成功之后会报错 Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", l 阅读全文
posted @ 2018-09-24 12:19 修瑾 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 给Django配置mysql数据库 现在settings中将DATABASES重新设置 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': "databasename", 'PASSWORD': "pass 阅读全文
posted @ 2018-09-23 21:18 修瑾 阅读(234) 评论(0) 推荐(0) 编辑
摘要: [mysqld];skip-grant-tablesport=3306character_set_server=utf8default-storage-engine=innodbinnodb_file_per_table=1 [client]port=3306default-character-se 阅读全文
posted @ 2018-09-21 15:46 修瑾 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 然后去http://www.cr173.com/soft/419023.html这个地址下载下来安装包。下载完是一个压缩包,解压完里面有三个文件,就是这样的: 从x64和x86选一个安装就行了,(应该这两个就是在32位系统和64位系统安装的区别。。我选的x86)。最后一步双击PatchNavicat 阅读全文
posted @ 2018-09-20 01:22 修瑾 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1.新建虚拟机 1.1电脑名称和系统类型 打开已经安装好的virtualbox,[控制][新建] 名称:centos7(自定义即可) 安装文件夹:C:\Users\hp\centos7(自己新建一个文件夹进行安装即可) 类型:linux 版本:Red Hat(64 bit)(centos就是redh 阅读全文
posted @ 2018-08-08 02:04 修瑾 阅读(1680) 评论(0) 推荐(0) 编辑
摘要: 参考博客: https://blog.csdn.net/u010871058/article/details/54253774 https://blog.csdn.net/zytbft/article/details/74551299 vim官方教程2008年01月01日 版本 1.5 vim 是一 阅读全文
posted @ 2018-07-03 08:58 修瑾 阅读(986) 评论(0) 推荐(0) 编辑
摘要: 参考博客: https://blog.csdn.net/u010871058/article/details/54253774 https://blog.csdn.net/zytbft/article/details/74551299 2 vim操作技巧1.VIM文本替换命令s 是替代命令. s/表 阅读全文
posted @ 2018-07-02 00:55 修瑾 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 网上找到的比较全面的vimrc设置,直接拷贝到/home/.vimrc文件即可使用。不过阿里云使用浏览器打开的话,无法直接复制这么多的文本,需要自己采用xshell连接云服务器,再复制文本。 参考博客: https://blog.csdn.net/u010871058/article/details 阅读全文
posted @ 2018-07-02 00:49 修瑾 阅读(3595) 评论(0) 推荐(0) 编辑