

def save(self, commit=True, *args, **kwargs):
    model = super(SoftDeleteObjectAdminForm, self).save(*args, commit=False, **kwargs)
    model.deleted = self.cleaned_data['deleted']
    if commit:
        model.save()
    return model

dataset/ETHPy150Open scoursen/django-softdelete/softdelete/admin/forms.py SoftDeleteObjectAdminForm.save/original