Dynamically Delete inline formsets in Django
- by BenMills
Is it possible to have Django automatically delete formsets that are not present in the request?
So for example if I had three inline formsets represented in HTML when I loaded my edit page and I use javascript to remove two of those when the request is processes Django sees that those two forms are no longer their and deletes them.