﻿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
33029	Django Admin Popup	Yash Jhunjhunwala	nobody	"Django Admin shows popup for adding/editing a related field object. The popup doesn't always a new popup but instead replaces the current one when opening multiple popups.

Steps to recreate the problem:

For E.g.

{{{
class A(models.Model):
foo = models.ForeignKey('self', on_delete=models.SET_NULL,null=True,blank=True,verbose_name=""If True"",related_name=""foo_set"",)
bar = models.ForeignKey('self', on_delete=models.SET_NULL,null=True,blank=True,verbose_name=""If True"",related_name=""bar_set"",)
}}}


For the above Model A :

Create a new instance of model A using the admin. Open a relatedmodel popup for foo by clicking on the add sign.
In the new pop up click on the add sign for foo again and it will replace the current popup (instead of opening up another popup) whereas if you click on the add sign for bar it will open another popup - which is the expected behavior.




"	Bug	new	contrib.admin	2.2	Normal				Unreviewed	0	0	0	0	0	1
