码迷,mamicode.com
首页 >  
搜索关键字:views    ( 4259个结果
spring
http://java.dzone.com/articles/creating-custom-spring-3-xmlCreating a Custom Spring 3 XML Namespace05.20.2012| 10198 views |Tweet inShare1 Tweet 1inS....
分类:编程语言   时间:2015-01-19 18:46:51    阅读次数:239
django设置首页
1.在views中添加一个def 为homepagebasepath=os.getcwd()+'\\dockerApp\\app\\templates\\';def homepage(request): response=render_to_response(basepath+"index.htm....
分类:其他好文   时间:2015-01-19 12:35:49    阅读次数:211
MVC4相关Razor语法以及Form表单(转载)
Razor的布局(Layout)默认建的工程都自带的了一个_ViewStart.cshtml文件,文件里面的代码如下:[csharp]view plaincopy@{Layout="~/Views/Shared/_Layout.cshtml";}这里的 @{Layout="文件路径";}代码块指定了...
分类:Web程序   时间:2015-01-19 10:40:14    阅读次数:172
[ISSUE]angularjs resolve: $injector:unpr] Unknown provider:
使用框架 ionic,使用resolve做数据共享http://learn.ionicframework.com/formulas/sharing-data-between-views/#出现错误$injector:unpr] Unknown provider:仔细对照没有找到原因尝试删除每个ion...
分类:Web程序   时间:2015-01-18 11:44:42    阅读次数:341
Razor母版页语法
母版页中: @RenderBody()//表示调用它的视图直接写html代码的位置 @RenderSection("bottom")//自定义bottom占位符调用母版页视图中@{ Layout = "~/Views/Shared/_MyLayout.cshtml"; //表示调用了母版页}这是内....
分类:其他好文   时间:2015-01-16 22:15:48    阅读次数:240
马士兵大哥数据库教程2阶段
马士兵大哥数据库教程2阶段 user_indexes;user_tables;user_views;用户字典表dictionaryselect user_tables user_views;user_indexes视图view;create view v$_stu as select ,,, fro...
分类:数据库   时间:2015-01-16 20:48:48    阅读次数:176
django小例子
views.pyfromdjango.shortcutsimportrender,render_to_response fromdjango.httpimportHttpResponse importos #Createyourviewshere. defcpu_status(request): cpu_info=os.popen(‘sar11‘).read() html=‘<html><body><pre>%s</pre></body></..
分类:其他好文   时间:2015-01-16 17:00:32    阅读次数:195
chartControl 饼状图小Demo
Short DescriptionThePie Chartis represented by thePie3DSeriesViewobject, which belongs toPie, Doughnut and Funnel Series Views. This view is useful wh...
分类:其他好文   时间:2015-01-15 23:35:55    阅读次数:331
Grunt usemin
yeoman/grunt-usemin用来将 HTML 文件中(或者 templates/views)中没有优化的 script 和 stylesheets 替换为优化过的版本。usemin暴露两个内置的任务,分别为:useminPrepare为将指定文件中的 usemin block 转换为单独的...
分类:其他好文   时间:2015-01-15 10:41:18    阅读次数:342
django 学习个人总结 之form提交放到数据库中
project:test04app:blogmodels.pyfromdjango.dbimportmodelsclassUser(models.Model):username=models.CharField(max_length=20)headImg=models.FileField(upload_to=‘./upload/‘)views.pyfromdjango.shortcutsimportrender_to_response fromdjangoimportforms fromdjango.http..
分类:数据库   时间:2015-01-12 19:33:24    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!