﻿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
11821	Objects with multiple foreign key relationships to the same table will not correctly warn about deletion of related objects	shields@…	nobody	"Consider:

{{{
#!python
class Thing(models.Model):
    foreground_color = models.ForeignKey(Color, related_name='thing_foreground')
    background_color = models.ForeignKey(Color, related_name='thing_background')
}}}

The admin delete view for a Color will correctly warn about the cascade deletions of all Things with that foreground_color.  However, it will ''not'' show the deletions of Things with that background_color, and they ''will'' be deleted.  This is surprising and dangerous behavior.

A patch and regression test are included."		closed	contrib.admin	1.1		duplicate		mshields@…	Unreviewed	1	0	0	0	0	0
