部分转自:https://www.cnblogs.com/linagcheng/p/9932302.html 1.项目启动: pycharm启动:点击绿色的小三角,直接启动django项目(小三角的左边是django名字) "C:\Program Files\JetBrains\PyCharm 20 ...
分类:
其他好文 时间:
2019-02-03 23:45:34
阅读次数:
240
Container是一个Tomcat容器的接口,Tomcat有四种容器 · Engine · Host · Context · Wrapper Engine代表整个Catalina的Servlet引擎,Host则代表若干个上下文的虚拟主机。Context则代表一个Web应用,而一个Context则会 ...
分类:
其他好文 时间:
2019-02-02 12:37:30
阅读次数:
186
按钮 <button type='buttton'></button>不提交触发点击事件 <button type="reset"></button>重置触发点击事件 <button type="submit"></button>提交 <input type="submit" value="我也是提 ...
分类:
其他好文 时间:
2019-01-31 00:15:52
阅读次数:
183
300583 Web Systems DevelopmentPRACTICAL SET 3 DUE: 8PM 25 JAN 2019In this Practical Set, you will implement a roughly full-fledged website for the "Go ...
分类:
Web程序 时间:
2019-01-29 20:48:22
阅读次数:
137
简单的路由配置: urls.py views.py 若要从URL 中捕获一个值,只需要在它周围放置一对圆括号. 不需要添加一个前导的反斜杠,因为每个URL 都有。例如,应该是^articles 而不是 ^/articles。 每个正则表达式前面的'r' 是可选的但是建议加上。它告诉Python 这个 ...
分类:
其他好文 时间:
2019-01-29 20:44:16
阅读次数:
197
<input class="add" id="add" style="display: none" type="submit" value="添加" /> 这样一个需求:当点击tree树形菜单的时候如果是叶子节点就显示 add添加按钮, 否则隐藏 $('#myTree').tree( { url : ...
分类:
其他好文 时间:
2019-01-29 12:48:58
阅读次数:
224
FormData FormData对象用以将数据编译成键值对,以便用XMLHttpRequest来发送数据。其主要用于发送表单数据,但亦可用于发送带键数据(keyed data),而独立于表单使用。如果表单enctype属性设为multipart/form-data ,则会使用表单的submit() ...
分类:
其他好文 时间:
2019-01-28 20:13:03
阅读次数:
1192
Selenium Webdriver API(2) 15、获取元素基本信息 #启动IE浏览器driver = webdriver.Ie(executable_path="IEDriverServer")#打开搜狗driver.get("http://www.sogou.com")#获取“新闻”lin ...
非常简单的GUI版猜数字游戏,后面有时间好好研究下 # -*- coding: utf-8 -*-"""Created on Mon Jan 28 16:30:17 2019 @author: pelu""" import tkinterimport random number = random.r ...
分类:
编程语言 时间:
2019-01-28 18:20:57
阅读次数:
177
vue @click 使用三目运算(实现动态更换绑定的函数) ...
分类:
其他好文 时间:
2019-01-26 23:42:48
阅读次数:
662