Django开发心得:filter方法可以使用count(),update().get方法不可以使用。密码重置功能和修改功能。项目链接功能。(前端模板表单向后台传输数据时,有post和get两种方式;以action的属性值调用后台函数;在获取前端模板表单数据时,以name属性来获取,获取其中的value值。)..
分类:
编程语言 时间:
2014-10-29 02:05:52
阅读次数:
177
Host: 10-4-13-72 User: Password: Select_priv: N Insert_priv: N Update_priv: ...
分类:
数据库 时间:
2014-10-29 01:57:10
阅读次数:
154
INSERT INTO `books `(`name`,`count`,`num`)VALUES ('windows','1','2'),('','linux','1','3')ON DUPLICATE KEY UPDATE `count` = `count` + VALUES(`COUNT`), ...
分类:
其他好文 时间:
2014-10-29 01:50:13
阅读次数:
143
在虚拟机上安装了Ubuntu13.10 ,然后使用命令sudo apt-get install apache2 安装apache总提示“E: 未找到软件包...”,不知所踪,这可能是新手容易的犯 的小错误,网上查找一番后解决掉sudo apt-get update“获得最近的软件包的列表;...
分类:
Web程序 时间:
2014-10-29 00:04:39
阅读次数:
199
Connection connection = (Connection) dbcp.getConn(); int affectRows = qr.update(connection, sql,params); BigInteger id =...
分类:
其他好文 时间:
2014-10-28 23:43:25
阅读次数:
360
deb http://mozilla.debian.net/ wheezy-backports iceweasel-releaseYou can install it with the following commands:$ apt-get update$ apt-get install -t w...
分类:
Web程序 时间:
2014-10-28 17:09:49
阅读次数:
156
常见的crud方法签名使用以下几个:
Attach get(Integer attachId);
Attach save(Attach attach)或Integer save(Attach attach);
void delete(Integer attachId);
void update(At...
分类:
其他好文 时间:
2014-10-28 11:55:30
阅读次数:
368
CVS中的基本术语: Repository,Module,Import,Checkout,Commit,Update,Revision,Release,TagRepository:仓库仓库是CVS服务器的根目录,所有的工作都将保存在这个仓库中,包括源代码和这些代码的全部历史。仓库中有许多“木桶”,....
分类:
其他好文 时间:
2014-10-28 02:02:56
阅读次数:
208
Insert or update an element in mapm:m[key] = elemRetrieve an element:elem = m[key]Delete an element:delete(m, key)Test that a key is present with a tw...
分类:
其他好文 时间:
2014-10-28 00:39:53
阅读次数:
243
--演示隐式游标,系统自动声明,自动打开,自动使用并且自动关闭begin update emp set sal = 1000; dbms_output.put_line('影响的行数:' || sql%rowcount);end; rollback; /*游标的使用方法:第一步:声明游标第二步:打开...
分类:
数据库 时间:
2014-10-28 00:34:19
阅读次数:
245