﻿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
22349	RawQuerySet doesn't implement __len__, __bool__	Craig de Stigter	Tim Graham <timograham@…>	"
RawQuerySet should mirror QuerySet behaviour where possible.

However, `RawQuerySet.__bool__` always returns True, instead of evaluating the query results and checking the length is nonzero.

`RawQuerySet.__len__` doesn't work at all:

    *** TypeError: object of type 'RawQuerySet' has no len()

This is not intuitive since it's not how QuerySet works. It basically means that you have to cast RawQuerySet to a list before doing much with its results.
"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed		loic@…	Accepted	1	0	0	0	0	0
