﻿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
6639	to_field is not followed in objects.get(fkmodel__fkattr=something) lookups	dfrishberg <dfrishberg@…>	nobody	"When the to_field of a !ForeignKey field is specified as something other than the primary key, FK lookups do not work properly in filtering. The to_field is ignored, because the django/db/models/query.py:lookup_inner() function follows a pk (as of revision 7138, this is at line 1031).

There's probably a better way to get the field name than I've got in this patch, and I imagine there may be more safety checking than I'm doing. But this fixed my problem."		closed	Database layer (models, ORM)	dev		duplicate			Unreviewed	1	0	0	0	0	0
