﻿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
2820	selected_related not pulling from GenericRelation's	anonymous	Adrian Holovaty	"My assumption is that select_related would pull a GenericRelation but it doesn't seem to.

The problem comes from where I have two models, one being generic, and one being specific. The generic model holds data thats used by several models, and contains an object_id and content_type.

The specific model let's call it Article, and the generic Rating. The end goal would be to be able to do things, such as create a manager, which could perform a left join. The code in SQL would be similar to select * from article_table left join rating_table on a.id = b.object_id and b.content_type_id = x.

The problem is (as far as I can tell) there's no way to do this in django."	enhancement	closed	Core (Other)	dev	normal	wontfix			Unreviewed	0	0	0	0	0	0
