上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 在app 中urls.py 可替换原始后台登陆地址 /admin 为自定义地址 阅读全文
posted @ 2017-07-02 17:31 金牛小子 阅读(135) 评论(0) 推荐(0) 编辑
摘要: autoescape¶ Controls the current auto-escaping behavior. This tag takes either on or off as an argument and that determines whether auto-escaping is i 阅读全文
posted @ 2017-07-02 15:50 金牛小子 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.csdn.net/liqiancao/article/details/66151287 阅读全文
posted @ 2017-06-29 15:57 金牛小子 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 参考:http://zengestudy.blog.51cto.com/1702365/1902660 http://www.cnblogs.com/fnng/p/3737964.html 实现与后台与前端的数据交换 阅读全文
posted @ 2017-06-28 21:20 金牛小子 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 在urls.py 设置空路径,并指向对应的html文件 url(r'^$', views.index), 阅读全文
posted @ 2017-06-27 17:28 金牛小子 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 无法在外网访问服务器的公网ip 解决方法: 在阿里云 云服务器ECS-安全组规则 添加端口 可更根据阿里的教程来 配置完成后即可访问! 阅读全文
posted @ 2017-06-27 17:01 金牛小子 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 将docx另存为txt ,并且删除源文件 涉及到office中docx文档的打与另存为命令 相关参考 阅读全文
posted @ 2017-06-20 00:04 金牛小子 阅读(7214) 评论(0) 推荐(0) 编辑
摘要: 通过多次遍历达到找出所有文件的目的 阅读全文
posted @ 2017-06-19 21:16 金牛小子 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 广告终结者 在chorm游览器中可以搜到该插件 功能比较强大 可以自定义拦截方式 有时间仔细研究 阅读全文
posted @ 2017-06-13 16:49 金牛小子 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1,可以先定义一个基础的页面访问路径 例如:http://127.0.0.1:8000/index/ 定义index路径 在urls 2,同时也需要创造一个index.html页面 3,需要一个将url和html连接起来的函数 定义views.py 使用到的方法包括 render() POST.ge 阅读全文
posted @ 2017-06-10 13:52 金牛小子 阅读(3820) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页