Re: QuerySet.exists() and __nonzero__

2009-11-02 Thread Jacob Kaplan-Moss
On Mon, Nov 2, 2009 at 4:35 AM, Jiri Barton wrote: > I was wondering if a consensus has been reached and __nonzero__ > could use the new QuerySet.exists()? This was discussed, and Luke explains why __nonzero__ can't do this optimization here: http://code.djangoproject.com/ticket/11402#comment:5.

QuerySet.exists() and __nonzero__

2009-11-02 Thread Jiri Barton
Hello everyone, I listened to the Django Dose this morning and to my great delight, found QuerySet.exists() has landed in the trunk. I did not however hear anything about yes or no on using __nonzero__ on the interface side. Having read this thread http://groups.google.com/group/django-developer