Walking on the Safe Side
Square City is a very easy place for people to walk around. The two-way streets run North-South or East-West dividing the city into regular blocks. Most street int...
分类:
其他好文 时间:
2014-11-14 19:47:01
阅读次数:
270
1.创建一个布局:layout是一个容器,它有5个区域:north(北),south(南),east(东),west(西);center(中)-----------学习中文网地址 2.north(北),south(南),east(东),west(西)都能删除,但是center不...
分类:
Web程序 时间:
2014-10-28 13:41:21
阅读次数:
164
枚举类型enum{,,,,...,}举例:namespace ConsoleApplication1{ enum orientation : byte { north=1, south=2, east=3, west=4, ...
在1.6之前, Django只支持添加新的model到数据库, 而无法编辑或修改已经存在的model. 在当时, 这些Django缺失的功能可以通过South实现. 按照官方文档的说明,支持得最好的是postgresql数据库,其次是mysql,目前s...
分类:
其他好文 时间:
2014-10-23 22:52:20
阅读次数:
209
south在django1.6中的使用
django1.7中已经支持数据合并了,所以只能在django1.4 1.5 1.6的版本中使用south。 south的主要作用就是做数据的合并,当我们在django中定义了一个模型之后,使用syncdb同步到数据库中,而后如果 修改了模型的字段,或者字段属性,在使用syncdb就不可以了。 这时候如果要迁移数据就需要重新建库,把原始数据 迁...
分类:
其他好文 时间:
2014-10-23 14:33:13
阅读次数:
243
一、jQuery Easy UI (适应屏幕分辨率大小)布局(Layout) 1、首先应用的是jquery-easyui-1.4 版本(版本不同,兼容性不同) 2、实现整个页面的布局( layout: north,south,west,east, center) 3、首先整个页面布局适应屏幕的分辨率...
分类:
Web程序 时间:
2014-10-10 14:50:14
阅读次数:
4316
默认左边两边的面板都不拉伸,上下两个面板宽度为整个layout的100%。 center east west north south 设置左边的面板拉伸至底部 center east west north south 设置右边的面板拉伸至顶部 center ...
分类:
其他好文 时间:
2014-10-08 00:09:14
阅读次数:
299
glue 胶水vegetarian 素食者; 素食主义者;素食的 North Korea 朝鲜South Korea 韩国camel 骆驼cabbage 白菜pepper 辣椒fried pork with peppertake a dump 上大号take a pee 去小便food market...
分类:
其他好文 时间:
2014-10-07 19:59:14
阅读次数:
229
syncdb 仅仅能初始化table(create),不能自己主动update/delete/drop。那么south应运而生。south简单使用方法:安装: pip install South安装完后,增加到INSTALLED_APPS中,并syncdb一下,否则会出现south_migratio...
分类:
其他好文 时间:
2014-09-30 19:37:40
阅读次数:
207
enum 和 typedef, 在两个小节中书中分别出现了2个例子,如下enumdirection{north,south,east,west};typedefenum{north,south,east,west}direction;不禁产生疑问,这两个有什么区别,仔细对照了一下,发现是这样的:大同...
分类:
其他好文 时间:
2014-09-16 15:29:20
阅读次数:
201