﻿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
33076	SyntaxError when using __in lookup with F() expression.	Awais Qureshi	nobody	"I am trying to run tests again django3.0 and I am getting sql error in a generated query.
I am sharing part of query which is causing error 
WHERE (U5.""organization_id"" IN ""course_metadata_course_authoring_organizations"".""organization_id""  this line triggers error 
Result: no such table: course_metadata_course_authoring_organizations.organization_id

Code is some thing like this
`editors__user__groups__organization_extension__organization__in=F('authoring_organizations')`

authoring_organizations is manytomanyfield.

I did't find any thing in release notes.


Thanks
Awais"	Bug	closed	Database layer (models, ORM)	3.0	Normal	duplicate	F expression, Q expression, ORM		Unreviewed	0	0	0	0	0	0
