Skip to content

Conversation

yetem
Copy link

@yetem yetem commented Feb 7, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant