django-s3-storages-utils 0.1.0

Tools for setting up S3 to be used with django-storages
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

last updated on:
September 13th, 2012, 1:52 GMT
price:
FREE!
developed by:
Reuven V. Gonzales
homepage:
github.com
license type:
MIT/X Consortium License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT