Created
March 26, 2012 18:30
-
-
Save doismellburning/2208516 to your computer and use it in GitHub Desktop.
Django settings for S3
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 = PROJECT_NAME | |
STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage' | |
S3_URL = 'http://%s.s3.amazonaws.com/' % AWS_STORAGE_BUCKET_NAME | |
STATIC_URL = S3_URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment