diff --git a/api/models/indiening.py b/api/models/indiening.py index 0ee37e19..324a86df 100644 --- a/api/models/indiening.py +++ b/api/models/indiening.py @@ -81,7 +81,6 @@ def save(self, *args, **kwargs): "temp", f"indiening_{self.indiening_id}" ) default_storage.save(new_path, ContentFile(old_file.read())) - old_file.storage.delete(old_file.name) self.bestand.name = new_path super(Indiening, self).save(*args, **kwargs)