Created
January 4, 2017 16:17
-
-
Save ddahan/12016a94b140b0cb4bf12d126408ac26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWS_STORAGE_BUCKET_NAME = "bucket_name" | |
AWS_ACCESS_KEY_ID = "your_access_key_id" | |
AWS_SECRET_ACCESS_KEY = "your_secret_access_key" | |
AWS_S3_HOST = "your_s3_host" | |
AWS_S3_URL = 'https://{0}.s3.amazonaws.com/'.format(AWS_STORAGE_BUCKET_NAME) | |
AWS_STATIC_DIR = 'static' | |
STATIC_URL = AWS_S3_URL + AWS_STATIC_DIR + '/' | |
STATICFILES_STORAGE = 'your_project_name.storage.StaticRootS3BotoStorage' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment