﻿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
15121	ForeignKey cascading deletes fail with Integrity Error when to_field attribute set to field other than primary key	ben.kank@…	nobody	"ForeignKey cascading delete fails with Integrity Error when to_field argument set to field other than primary key. Setting the on_delete argument doesn't change this behavior either. 

For example:

{{{
models.ForeignKey(Design, related_name='reports', to_field=""uuid"", on_delete=models.CASCADE)
}}}
"		closed	Database layer (models, ORM)	1.3-beta		duplicate	to_field, cascade, on_delete		Accepted	0	0	0	0	0	0
