All files, including those not displaying correctly, are present in my bucket at amazon. The only two images I've found that don't display are icon_clock.gif and icon_calendar.gif. Everything else works properly.
When I examine the link location of the broken images, I get this:
https://my_bucket_name.s3.amazonaws.com/admin?Signature=MY_SIGNATURE&AWSAccessKeyId=MY_KEYimg/icon_clock.gif
As you can see, the query parameters aren't being added to the end but instead to the middle of the link.
Here are the relevant settings:
import os.path
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
PROJECT_NAME = os.path.basename(ROOT_DIR)
def ABS_PATH(*args):
return os.path.join(ROOT_DIR, *args)
STATIC_ROOT = ABS_PATH('static')
AWS_ACCESS_KEY_ID = 'MY_KEY'
AWS_SECRET_ACCESS_KEY = 'MY_SECRET_ACCESS_KEY'
AWS_STORAGE_BUCKET_NAME = 'my_bucket_name'
STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
S3_URL = 'http://%s.s3.amazonaws.com/' % AWS_STORAGE_BUCKET_NAME
STATIC_URL = S3_URL