会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
风中的树
maven之ssh项目搭建
摘要: 1:新建maven-archetupe-webapp项目2:web.xml配置文件如下 org.springframework.web.context.ContextLoaderListenercontextConfigLocationclasspath:spring/*.xml SSH org....
阅读全文
posted @ 2014-06-13 12:05 风中的树
阅读(3723)
评论(0)
推荐(0)
编辑
map遍历的三种基础用法
摘要: java中遍历MAP的几种方法Java代码Map map=new HashMap();map.put("username", "qq");map.put("passWord", "123");map.put("userID", "1");map.put("email", "qq@qq.com");M...
阅读全文
posted @ 2014-05-15 09:35 风中的树
阅读(160)
评论(0)
推荐(0)
编辑
django1.6之创建用户
摘要: 如何你运行python manager.py syncdb(数据库同步成功)则运行一下代码>>> from django.contrib.auth.models import User>>> user = User.objects.create_user('admin','2222@qq.com',...
阅读全文
posted @ 2014-05-14 09:54 风中的树
阅读(184)
评论(0)
推荐(0)
编辑
django1.6之mysql配置
摘要: # Database# https://docs.djangoproject.com/en/1.6/ref/settings/#databasessetting 配置修改INSTALLED_APPS = ( # 'django.contrib.admin', # 'django.contri...
阅读全文
posted @ 2014-05-08 11:13 风中的树
阅读(168)
评论(0)
推荐(0)
编辑
django1.6之template基础用法
摘要: >>> settings.configure()>>> tem=template.Template("my template is {{name}}")>>> con = template.Context({"name":"xiaoji"})>>> t = tem.render(con)>>> pr...
阅读全文
posted @ 2014-05-07 10:53 风中的树
阅读(266)
评论(0)
推荐(0)
编辑
导航
博客园
首页
联系
订阅
管理
公告