﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17311	bool(queryset) calls __len__ instead of __nonzero__	Adam Nelson	nobody	"When testing the boolean value of a queryset (i.e. running ""if queryset: ...""), the special attribute __len__ is called which calls count() in the ORM.  It should use the special attribute __nonzero__ which would call the exists() method in the ORM."	Uncategorized	closed	Database layer (models, ORM)		Normal	invalid			Unreviewed	0	0	0	0	0	0
