logo with same filename is not changed, s3boto issue?
I'm working on reviving a stale project that uses s3boto (DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage') (Django 1.3)
one of the models has an ImageField that contains the logo of the model. When I want to replace the logo with a new logo that has the same filename the new logo is not saved, but the old file is served.
I've tried stuff along the lines of http://stackoverflow.com/questions/16041232/django-delete-filefield but without result. When I switch to using the default file storage (local files) it works perfectly.
Is there a way to delete the file first from the S3 storage and then replace it with the new file?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home