04 2018 档案
摘要:django :2.0 bootstrap:3.37 可视化布局 http://www.bootcss.com/p/layoutit/ 下载 bootstrap https://v3.bootcss.com/getting-started/ 将解压出来dist里的内容复制到django项目stati
阅读全文
摘要:参考 https://blog.csdn.net/wangquannetwork/article/details/46576971
阅读全文
摘要:https://github.com/TakeMeHigher/interview_python#1-python%E7%9A%84%E5%87%BD%E6%95%B0%E5%8F%82%E6%95%B0%E4%BC%A0%E9%80%92 https://taizilongxu.gitbooks.
阅读全文
摘要:参考 http://www.cnblogs.com/wupeiqi/articles/5433893.html
阅读全文
摘要:参考 http://www.cnblogs.com/yuanchenqi/articles/5997456.html
阅读全文
摘要:设置中文 setting LANGUAGE_CODE = 'en-us' #中文zh-hans 将models的表注册到admin 握一些常用的设置技巧 list_display: 指定要显示的字段 search_fields: 指定搜索的字段 list_filter: 指定列表过滤器 orderi
阅读全文
摘要:1.加载多个项目 file--open 2.修改项目根目录 file->settings->project->project structure-> 3.django框架函数无提示 自定义模块飘红但是能用,解决飘红 from 包 import (*需要是包就是带__init__文件的目录) 飘红原因
阅读全文
摘要:import os dir_list=[] def visit(arg, dirname, names): for filespath in names: s=(os.path.join(dirname,filespath)) dir_list.append(s) os.path.walk('/root/', visit, ()) for i in...
阅读全文
摘要:官方文档http://python-jenkins.readthedocs.io/en/latest/examples.html#example-3-working-with-jenkins-jobs logger.py config.py
阅读全文
摘要:参考 https://www.cnblogs.com/fiberhome/articles/6418320.html
阅读全文
摘要:参考 http://www.cnblogs.com/yuanchenqi/articles/6083427.html 在settings修改默认数据库(默认sqlite) 由于mysqldb对python3兼容性差,选用pymysql pip install pymysql 在__init__ se
阅读全文
摘要:可参考:http://www.runoob.com/django/django-admin-manage-tool.html https://code.ziqiangxuetang.com/django/django-tutorial.html http://www.cnblogs.com/yuan
阅读全文
摘要:// 创建方式一 var s="hElLlo"; // 创建方式二 var s2=new String("hello"); //String对象的属性 length // alert(s.length); //遍历字符串: // for (var i in s){console.log(s[i])}; //----------------...
阅读全文
摘要:参考 http://www.cnblogs.com/yuanchenqi/articles/5980312.html 引入方式 (两种,建议放在BODY最后面 定义变量 自增,自减 等于与全等于 switch(x) if,while,for与shell有些类似 异常处理(与python基本相同) 函
阅读全文
摘要:参考 https://www.cnblogs.com/yuanchenqi/articles/5977825.html 1颜色 字体属性 font-size: 20px/50%/larger 字体大小 font-family:'Lucida Bright' font-weight: lighter/
阅读全文