reference: https://docs.djangoproject.com/en/1.8/intro/tutorial01/Writing your first Django app, part 1Let’s learn by example.Throughout this tutorial...
分类:
移动开发 时间:
2015-08-10 19:41:30
阅读次数:
128
models 其实也没什么好说的,就是普通的 python 类settings 中配置数据库连接DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'mydb', ...
分类:
其他好文 时间:
2015-08-08 22:49:34
阅读次数:
207
tiny4412学习者,在ubuntu12.04下编译android4.1.2添加JNI层出现问题: (虚心请教解决方法)trouble writing output: Too many methods:65540; max is65536. By package: 26 android 145 ....
分类:
移动开发 时间:
2015-08-08 21:18:52
阅读次数:
232
Google了一把,发现原来默认Git设置http?post的缓存为1M,相关资料如下: https://bitbucket.org/marcinkuzminski/rhodecode/issue/495/git-repositories-much-bigger-when-hosted http://docs.webfaction.com/...
分类:
其他好文 时间:
2015-08-06 11:24:07
阅读次数:
421
views 其实没什么可看的, 在 django 中 views 就是 controller, 是处理请求的, 就是一个普通的 python 方法。一般从 request 中提取请求参数, 然后处理业务逻辑, 跟数据库和后台服务做交互,取回数据,渲染模板,将返回结果包装进 HttpResponse ...
分类:
其他好文 时间:
2015-08-03 00:44:41
阅读次数:
176
Writing a device driver for Windows In order to write a device driver for windows, one needs the device driver development kit (ddk) and a c compiler....
Libevent is a library for writing fast portable nonblocking IO. libevent是一个为编写快速可移植的非阻塞IO程序而设计的。libevent组件 libevent包括了以下组件: 1.evutil Generic fun...
分类:
其他好文 时间:
2015-07-31 21:47:25
阅读次数:
167
英文地址:http://dojotoolkit.org/reference-guide/1.10/quickstart/writingWidgets.html#quickstart-writingwidgets 从头单独开发一个控件十分困难,我们提供有一些组件,你如果想修改他们或者扩展一个自己的组件...
分类:
其他好文 时间:
2015-07-31 18:09:11
阅读次数:
196
Test-Driven Development PrinciplesTDD consists of writing test cases that cover a desired feature, then writing the feature itself. In other words, th...
分类:
编程语言 时间:
2015-07-31 12:05:15
阅读次数:
121
A very simple introduction to writing your first .NET controlDownload source files - 1 KbIntroductionThis is an extremely simple introduction to creat...