Django inline foreign key does not match parent primary key Django inline foreign key does not match parent primary key django django

Django inline foreign key does not match parent primary key


You may need to pass instance in POST processing as well.

formset = AttendeeFormSet(request.POST, request.FILES, prefix='attendees', instance=event)