﻿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
19602	Select_related filters objects with no related member	natmaster@…	Aymeric Augustin	"In Django <=1.4 if you used select_related and the related object doesn't exist, it would be filled in as None, but the original object would still show up in the results.

In Django 1.5, not having a related object when using select_related results in the original object not existing when calling get() or indexing it.

Note that the SQL is still the proper LEFT OUTER JOIN. Furthermore, a count() will result in the proper expected number of objects."	Bug	closed	Database layer (models, ORM)	1.5-beta-1	Release blocker	worksforme	select_related		Accepted	0	0	0	0	0	0
