Software Details:
Version: 0.1.0
Upload Date: 20 Feb 15
Distribution Type: Freeware
Downloads: 14
django-s3-storages-utils is a Django app designed to allow users to control S3BotoStorage, provided by the django-storages app.
The package is very easy to setup. All you have to do is to put the following code in your settings:
# Store the static files in the directory `static` in the S3 bucket
STATIC_S3_STORAGE_LOCATION = 'static'
# Store the media files in the directory `media` in the S3 bucket
MEDIA_S3_STORAGE_LOCATION = 'media'
DEFAULT_FILE_STORAGE = 's3storagesutils.MediaCachedS3BotoStorage'
STATICFILES_STORAGE = 's3storagesutils.StaticCachedS3BotoStorage'
# If you're using compressor
COMPRESS_STORAGE = STATICFILES_STORAGE
Requirements:
- Python
- Django
Comments not found