I was losing my sanity until I thought of changing the object from a list to a set:
class AuthorAdmin(admin.ModelAdmin): inlines = ( BookInline, )
I'm using python 3.12 and Django 5