django-s3-storages-utils

Software Screenshot:
django-s3-storages-utils
Software Details:
Version: 0.1.0
Upload Date: 20 Feb 15
Developer: Reuven V. Gonzales
Distribution Type: Freeware
Downloads: 14

Rating: 3.0/5 (Total Votes: 1)

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

Other Software of Developer Reuven V. Gonzales

testkit
testkit

20 Feb 15

Comments to django-s3-storages-utils

Comments not found
Add Comment
Turn on images!