bab
bab

Reputation: 2169

Django-storages force file to upload

I'm using django-storages to upload my static files to amazon s3. The first upload to s3 worked fine but django-storages doesn't detect that I've changed my static files so it doesn't reupload my changed static files.

How can I force django-storages to upload certain files?

Upvotes: 1

Views: 208

Answers (1)

Steve Mapes
Steve Mapes

Reputation: 921

Django storages just changes the backend, to sync up changes within static you still need to run the collectstatic management command of python manage.py collectstatic. Please refer to enter link description here

Upvotes: 1

Related Questions