[Django]-URL format for boto storage on django with SSL

9👍

Not tested, but based on the source, I think what you want is:

AWS_S3_CALLING_FORMAT = boto.s3.connection.OrdinaryCallingFormat()

(OC you’ll need to have import boto.s3.connection somewhere above)

Note the setting name – it doesn’t match what’s in the django-storages docs.

The django-storages docs seem to be more oriented towards the plain s3 backend, which is a shame, the boto one is much nicer.

If it’s not working, also make sure you’re on 1.1.8 – not sure which version started supporting this, but the s3boto backend underwent some big changes at the beginning of the year, this wouldn’t work on a 2012 release of django-storages.

👤AdamKG

Leave a comment