﻿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
7258	connection in WhereNode does not come down from Query	Koen Biermans <koen.biermans@…>	nobody	"The connection used in WhereNodes is not the one in Query, but an import from django.db.

I am attaching a patch that adds the connection via the initialisation of the wherenode. The catch is I had to fix the deepcopying: the connection should be copied as a reference.

I do not know whether this will break the ability to pickle the query, an extra getstate/setstate may be required here."	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed			Accepted	1	0	0	1	0	0
