Eloy Zuniga Jr.
https://github.com/eloyz/
To use S3 with django:
$ pip install django-storages
Then, in your project, make a storage.py:
from storages.backends.s3boto import S3BotoStorage
StaticRootS3BotoStorage = lambda: S3BotoStorage(locaiton='static')
MediaRootS3BotoStorage = lamdba: S3BotoStorage(location='media')
In settings.py:
# or whatever these Django settings are
STATICFILE_STORAGE = 'storage.StaticRootS3BotoStorage'
MEDIA_FILE_STORAGE = 'storage.MediaRootS3BotoStorage'
In a view:
from django.core.files.storage import default_storage
my_path = '/some/key/file.txt'
my_file = default_storage.open(path)