﻿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
11402	exists() method on QuerySets	Alex Gaynor	nobody	There is a nice little idiom in Django for testing whether any result set corresponds to a QuerySet: {{{ qs.extra(select={'a': 1}).values('a').order_by() }}} .  This is used in at least 2 places within Django.  It's a very nice idiom and it should be a method on a QuerySet because otherwise every time you use it you have to write a comment explaining what the hell you're doing.	Uncategorized	closed	Database layer (models, ORM)	1.0	Normal	fixed		t.django@…	Accepted	0	0	0	0	0	0
