Django-storages: Media files not deleted from Amazon S3

Created on 30 Jun 2015  路  1Comment  路  Source: jschneier/django-storages

Hello, in a Django 1.7 project we are using the Amazon S3 storage (with boto).

The documentations says:

Deleting an object deletes the file it uses, if there are no other objects still using that file

But, as I delete my model instance the corresponding file is not deleted from S3.

The model is really simple and we don have _other objects still using that file_.

驴Is it a bug or a problem with the documentation?

s3boto

Most helpful comment

Django's default FileField doesn't delete the physical file either (see here). I guess it's a documentation error, since one wouldn't expect the behaviour to diverge.

>All comments

Django's default FileField doesn't delete the physical file either (see here). I guess it's a documentation error, since one wouldn't expect the behaviour to diverge.

Was this page helpful?
0 / 5 - 0 ratings