Objects deleted by formset.save() are not gone

After running the following on a formset, I still see the deleted instances in the database and on the forms.

for criterion in formset.deleted_objects:
    criterion.delete()

Why are the objects persisting?

You know the drill - we need to see all the code involved.

Formset definition, complete view, and template.

1 Like