上一页 1 ··· 5 6 7 8 9 10 11 下一页
  2019年6月5日
摘要: Urls.py from django.contrib import adminfrom django.conf.urls import urlfrom cmdb import viewsurlpatterns = [ url(r'^admin/', admin.site.urls), # path 阅读全文
posted @ 2019-06-05 17:48 SZ_文彬 阅读(231) 评论(0) 推荐(0)
摘要: 安装 pip install django环境变量: C:\Program Files\Anaconda3\Scriptsdjango-admin startproject mysite 创建django工程mysite目录 -mysite #对整个程序进行配置 - __init__ -settin 阅读全文
posted @ 2019-06-05 17:47 SZ_文彬 阅读(216) 评论(0) 推荐(0)
  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_文彬 阅读(178) 评论(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_文彬 阅读(234) 评论(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_文彬 阅读(174) 评论(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_文彬 阅读(221) 评论(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_文彬 阅读(195) 评论(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_文彬 阅读(366) 评论(0) 推荐(0)
  2019年5月25日
摘要: 导入juery s1.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!--引入css--> <!--<link rel="stylesheet" href="cssw 阅读全文
posted @ 2019-05-25 22:09 SZ_文彬 阅读(210) 评论(0) 推荐(0)
摘要: http://jquery.cuishifeng.cn/ 模块 == 类库 DOM/BOM/JavaScript的类库 JQuery版本: 1.x 1.12系列兼容性最好 2.x 3.x 版本最新 转换: jQuery对象[0] ==> Dom对象 Dom对象 ==> $(Dom对象) 一,查找元素 阅读全文
posted @ 2019-05-25 22:05 SZ_文彬 阅读(148) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页