boto와 django-storages를 설치한 뒤
AWS_S3_HOST = 's3.ap-northeast-2.amazonaws.com'AWS_QUERYSTRING_AUTH = FalseAWS_ACCESS_KEY_ID = 'xxxxxxxxxxxxxxxxxxxxxxxxx'AWS_SECRET_ACCESS_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxx'AWS_STORAGE_BUCKET_NAME = 'xxxxxxxx'DEFAULT_FILE_STORAGE = "storages.backends.s3boto.S3BotoStorage" MEDIA_URL = 'http://%s.s3.amazonaws.com/' % AWS_STORAGE_BUCKET_NAME
위와 같이 설정하여 해결했다.
댓글 없음:
댓글 쓰기