AndrewIngram/django-extra-views

ModelFormset Update

neyder opened this issue · 2 comments

Hi,

By default this will populate the formset with all the instances of Item in the database.

But when I add another formset, or just change previous filled, it doesn't update. and it conflicts if unique field is in formset, so, cant use ModelFormSetView to create and/or update.

Some hints with that?

Hi @neyder , can you provide relevant lines of the code you're using and describe the problem in more detail?

Hi @neyder , can you provide relevant lines of the code you're using and describe the problem in more detail?

I'm sorry , i totally forgot to add formset.form.id field, so before it was creating new unique entries.