Re: ORM and admin

2014-04-09 Thread 沈世军
在 2014年4月2日星期三UTC+8上午12时26分17秒,Pradip Caulagi写道: > > It is rather late in the day to bring this up but ... > > should we remove ORM and admin from Django core? > > Thanks, > Pradip P Caulagi I do not think that orm and admin should be removed,but we should improve it. > -- You receiv

Should there be a "is" comperator: {% if A is B %}?

2014-04-09 Thread Gregor Müllegger
Hi, I recently had the need to check for "value is not True" (as an identity check, not on equality) in django-floppyforms. The template should generate the HTML attributes for an HTML element from a python dict, but leave out the attribute value if the dict's value is True. Like: {'required':