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 2500 [patch] admin popup window stays open after adding and saving an item that has a primary_key=True field Gary Wilson Adrian Holovaty "I have the models: {{{ #!python class Semester(models.Model): name = models.CharField(maxlength=20, primary_key=True) class Course(models.Model): number = models.CharField('course number', maxlength=6) title = models.CharField('course title', maxlength=100) semester = models.ForeignKey(Semester) year = models.PositiveIntegerField() }}} Steps to reproduce: 1. In the admin, click Courses. 1. Click add course. 1. Click plus next to Semester dropdown. 1. Fill in semester name. 1. Click save. What happens: * The add semester popup window goes blank. * The add semester popup window does not close itself and must be closed manually. * The new semester entry does get created in the database. * The semester dropdown in the add course form does not get populated with the newly created semester like it should." defect closed contrib.admin dev normal fixed gary.wilson@… Unreviewed 1 0 0 0 0 0