﻿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
35956	Add composite foreign keys	Csirmaz Bendegúz	David Sanders	"This is a follow up to #373 (CompositePrimaryKey).

Now that composite primary keys are merged, it would be great to be able to create foreign keys referencing them through the Django ORM.

My proposal is to add 2 parameters to `ForeignKey`: `from_fields` and `to_fields`.
They would map to the underlying `ForeignObject`'s `from_fields`, `to_fields` parameters.

If a `ForeignKey` has multiple fields, it acts as a ''virtual field'', meaning it doesn't create a database column automatically."	New feature	assigned	Database layer (models, ORM)	dev	Normal			Csirmaz Bendegúz Mariusz Felisiak Clifford Gama David Sanders Simon Charette	Accepted	0	0	0	0	0	0
