Need to remove un-used from from Amazon S3

22 views
Skip to first unread message

Naveen Yadav

unread,
Mar 15, 2016, 4:26:19 AM3/15/16
to Django users

In a django project need to upload static data to amazon S3, a bit searching finds out that django-storage and collectstatic management command can help me out there.

My use-case is the front-end will generate the complied static files (js, css). And those files need to be uploaded to S3.

unused file should be removed from s3 before uploading changed files.

Suppose index.js created a compiled file index_11.js, which already present on S3, after index.js file is changed and compiled file index_22.js should be uploaded and index_11.jsshould be removed from S3.



Is is possible through the collectstatic or otherwise?

Reply all
Reply to author
Forward
0 new messages