Dynamically Delete inline formsets in Django
Posted
by BenMills
on Stack Overflow
See other posts from Stack Overflow
or by BenMills
Published on 2010-03-01T15:57:25Z
Indexed on
2010/04/15
18:03 UTC
Read the original article
Hit count: 270
django
|django-forms
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.
© Stack Overflow or respective owner