Created
August 31, 2012 20:53
-
-
Save jarcoal/3558835 to your computer and use it in GitHub Desktop.
Django Static Files Config for S3
This file contains hidden or 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
DEFAULT_FILE_STORAGE = STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage' | |
AWS_ACCESS_KEY_ID = os.environ.get('AWS_ACCESS_KEY_ID') | |
AWS_SECRET_ACCESS_KEY = os.environ.get('AWS_SECRET_ACCESS_KEY') | |
AWS_STORAGE_BUCKET_NAME = 'mybucket' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment