码迷,mamicode.com
首页 >  
搜索关键字:objects    ( 3239个结果
Sort Colors leetcode java
题目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r....
分类:编程语言   时间:2014-07-28 11:34:20    阅读次数:297
Rendering with Replaced Shaders
【Rendering with Replaced Shaders】 It works like this: the camera renders the scene as it normally would. the objects still use their materials, but t....
分类:其他好文   时间:2014-07-27 22:26:09    阅读次数:185
设计模式之原型模式
原型模式目的:Specify the kinds of objects to create using a prototypical instance, and createnew objects by copying this prototype.用原型实例指定创建对象的种类,并且通过拷贝这些原型...
分类:其他好文   时间:2014-07-27 10:31:22    阅读次数:187
Blending
【Blending】 Blending is used to make transparent objects. When graphics are rendered, after all shaders have executed and all textures have been ap...
分类:其他好文   时间:2014-07-26 14:53:40    阅读次数:306
django form
ModelForm的继承者有两种保存数据方式:一:创建新的数据:f = ArticleForm(request.POST)new_article = f.save()二:更新数据库:a = Article.objects.get(pk=1)f = ArticleForm(request.POST, ...
分类:其他好文   时间:2014-07-26 00:46:26    阅读次数:207
django - from django.db.models import F - class F
F() 的执行不经过 python解释器,不经过本机内存,是生成 SQL语句的执行。# Tintin filed a news story!reporter = Reporters.objects.get(name='Tintin')reporter.stories_filed += 1report...
分类:数据库   时间:2014-07-25 16:48:21    阅读次数:265
UINib xib加载
1.加载RowView.xib文件,创建Objects下面的所有控件: NSArray *views = [[NSBundle mainBundle] loadNibNamed:@"RowView" owner:nil options:nil]; 2.取出xib中的第一个子控件: UIView...
分类:其他好文   时间:2014-07-25 16:31:51    阅读次数:272
Attribute-based identification schemes for objects in internet of things
Methods and arrangements for object identification. An identification request is received from different objects of a network. Attributes and values o...
分类:Web程序   时间:2014-07-23 22:19:07    阅读次数:354
[Django](1093, "You can't specify target table。。错误
dele_id=Fee_details_invoices.objects.filter(fee_detail_id__in=fee_id_list,return_type=‘2‘).values_list(‘fee_detail_id‘,flat=True) Fee_details_invoices.objects.filter(fee_detail_id__in=dele_id).delete()报错:django.db.utils.DatabaseError:(1093,"Youcan‘tspeci..
分类:其他好文   时间:2014-07-23 21:15:16    阅读次数:253
[Django](1093, "You can't specify target table 'fee_details_invoices' for update in FROM clause") 错误
dele_id = Fee_details_invoices.objects.filter(fee_detail_id__in=fee_id_list, return_type='2').values_list('fee_detail_id', flat=True) Fee_details_invoices.objects.filter(fee_detail_id__in=dele_id).del...
分类:其他好文   时间:2014-07-23 18:11:56    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!