def save(self, *args, **kwargs):
        if self.instance:
            if self.is_valid():
                if self.cleaned_data['delete']:
                    if self.cleaned_data['delete'] == 'delete':
                        self.instance.delete()
                    if self.cleaned_data['delete'] == 'trash':
                        self.instance.trash = True
                        self.instance.save()
Return single container.
dataset/ETHPy150Open treeio/treeio/treeio/account/forms.py/MassActionForm.save--crossover with--dataset/ETHPy150Open ryan-roemer/django-cloud-browser/cloud_browser/cloud/fs.py/FilesystemConnection._get_container