django-nested-inline icon indicating copy to clipboard operation
django-nested-inline copied to clipboard

Repair "The inline foreign key did not match the parent instance primary key"

Open yetem opened this issue 7 years ago • 0 comments
trafficstars

We deleted "value" in all inputs in new form, but stay it in "empty-form", so if add next form is possible to have "id" value from form before cloned. So, we have new not-saved formset and inlines with id to other formset. Which lead to, "The inline foreign key did not match the parent instance primary key" error.

yetem avatar Feb 07 '18 13:02 yetem