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 6561 Duplicated row entries with edit_inline=models.Tabular toomim nobody "I'm editing a model A with two choice fields inline in a model B, using a 2x5 table. {{{ class PubAuthor(models.Model): author = models.ForeignKey(Person, core=True) author_number = models.IntegerField(core=True, choices=[(1, 1), (2, 2), (3,3), (4,4), (5,5)]) pub = models.ForeignKey('Pub', edit_inline=models.TABULAR, num_in_admin=5, num_extra_on_change=5) }}} This works, except that if I edit a Pub and set only the FIRST row's author and author_number, and there is only 1 author in the database, then if I reload the page, the admin interface fills every row of the ""author"" column with that author! The ""Author number"" column remains empty. This then gives me a validation error if I try to save it. This seems to only happen if there's a single author in the database." closed contrib.admin dev invalid Fixed on a branch 0 0 0 0 0 0