django-s3-storages-utils 0.1.0

Tools for setting up S3 to be used with django-storages

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Reuven V. Gonzales
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
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

requirements

#S3 configuration #django-storages utils #Django storages #Django #django-storages #S3 #utils

Add your review!

SUBMIT