Skip to content

Instantly share code, notes, and snippets.

@doismellburning
Created March 26, 2012 18:30
Show Gist options
  • Save doismellburning/2208516 to your computer and use it in GitHub Desktop.
Save doismellburning/2208516 to your computer and use it in GitHub Desktop.
Django settings for S3
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