﻿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
23396	Regression in #14334 causes ValueError to be thrown on ValuesQuerySets	Gabe Jackson	Gabe Jackson	"check_related_objects shouldn't be called for ValuesQuerySets. This will lead to a ValueError 'Cannot use QuerySet for 'x': Use a QuerySet for 'y'' when doing something like:
{{{
Author.objects.filter(book__in=Author.objects.values_list('pk'))
}}}

whereas this is fine: 
{{{
Author.objects.filter(book__pk__in=Author.objects.values_list('pk'))
}}}

The prior syntax used to work in django <1.8 before #14334 and #23266 were applied.

Pull request with fix and test to follow."	Bug	closed	Database layer (models, ORM)	dev	Release blocker	fixed		Tim Graham Gabe Jackson	Ready for checkin	1	0	0	0	0	0
