上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
摘要: 首先创建环境 安装pip3 install virtualenv 然后virtualenv env source env/bin/activate 在这一步可能出现setupptools无法安装的错误 测选择 virtualenv env no setuptools 这样就可以创建成功 让... 阅读全文
posted @ 2015-12-31 11:24 gopher-lin 阅读(303) 评论(0) 推荐(0) 编辑
摘要: import sys reload(sys) sys.setdefaultencoding('utf 8') 阅读全文
posted @ 2015-12-30 17:42 gopher-lin 阅读(123) 评论(0) 推荐(0) 编辑
摘要: abstract 这个属性是定义当前的模型类是不是一个抽象类。所谓抽象类是不会对应数据库表的。一般我们用它来归纳一些公共属性字段,然后继承它的子类可以继承这些字段。比如下面的代码中Human是一个抽象类,Employee是一个继承了Human的子类,那么在运行syncdb命令时,不会生成Huma... 阅读全文
posted @ 2015-12-30 17:27 gopher-lin 阅读(150) 评论(0) 推荐(0) 编辑
摘要: php artisan make:request TagCreateRequest 阅读全文
posted @ 2015-12-28 19:04 gopher-lin 阅读(188) 评论(0) 推荐(0) 编辑
摘要: <link href="{{ URL::asset('assets/css/admin.css/admin.css') }}" rel="stylesheet" type="text/css"/ 阅读全文
posted @ 2015-12-28 15:33 gopher-lin 阅读(428) 评论(0) 推荐(0) 编辑
摘要: npm install重新安装 gulp重新安装 阅读全文
posted @ 2015-12-28 15:24 gopher-lin 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 有可能是PHP的版本太低,导致的此错误,修改php 版本,之后一切回复正常 阅读全文
posted @ 2015-12-27 18:45 gopher-lin 阅读(489) 评论(0) 推荐(0) 编辑
摘要: contains(@class, 'someclass') //ul[contains(@class,'foo')] sel=response.css('.pageLink') sel1= sel.xpath('.//a/@href').extract() sel2=response.xpat... 阅读全文
posted @ 2015-12-27 16:24 gopher-lin 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 127.0.0.1 阅读全文
posted @ 2015-12-25 10:28 gopher-lin 阅读(122) 评论(0) 推荐(0) 编辑
摘要: table pea not exist 步骤如下 首先在/usr/share/doc/phpmyadmin/examples/下找到create_tables.sql.gz gzip create_tables.sql.gz 编辑文件create_tables.sql,全文替换pma__为pma_... 阅读全文
posted @ 2015-12-24 20:51 gopher-lin 阅读(204) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页