2019年6月2日
摘要: 安装 pip install django环境变量: C:\Program Files\Anaconda3\Scriptsdjango-admin startproject mysite 创建django工程mysite目录 -mysite - __init__ -settings -urls -w 阅读全文
posted @ 2019-06-02 23:35 SZ_文彬 阅读(145) 评论(0) 推荐(0) 编辑
摘要: s5.py from wsgiref.simple_server import make_server def handle_index(): return [b'<h1>Hello,Index!</h1>'] def handle_date(): return [b'<h1>Hello,Date! 阅读全文
posted @ 2019-06-02 23:33 SZ_文彬 阅读(208) 评论(0) 推荐(0) 编辑
摘要: S2.py S3.py web框架 Model View Controller MVC Model Template View MTV MVC框架 Model:数据库操作 View:模板文件 Controller:业务处理 MTV框架 Model:数据库操作 Template:模板 View:业务处 阅读全文
posted @ 2019-06-02 23:32 SZ_文彬 阅读(140) 评论(0) 推荐(0) 编辑
摘要: S1.html <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Checkbox in DataList - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/ 阅读全文
posted @ 2019-06-02 22:01 SZ_文彬 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 组件BootStrap -css -js BootStrap规则jQueryUI -css -jsjQueryUI规则EasyUI -css -js推荐: 适用于后台管理EasyUI规则 网站:http://www.jeasyui.com模态对话框 demos-dialog-basic.html页面 阅读全文
posted @ 2019-06-02 22:00 SZ_文彬 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 笔记 js正则 test - 判断字符串是否符合规定的正则 整体匹配 rep=/\d/ 匹配一个数字 rep=/\d+/; \d 匹配一个或多个数字 rep.test("asdfdf89jfjfks") 返回true rep.test("sdfgegdddcvvdsw") 返回false rep=/ 阅读全文
posted @ 2019-06-02 21:44 SZ_文彬 阅读(310) 评论(0) 推荐(0) 编辑