Skip to main content

django-storages-redux extension to allow separate folders for media and static files

Project description

About

django-storage-folder is a small extension to the django-storages-redux (a python3 compatible fork of django-storages) project that allows you to specify different directories for storing media and static files.

It currently only supports the s3boto backend.

How To Use

  1. Set the static files or media files storage backend
  2. Set the static files or media files storage directory

Example

STATICFILES_STORAGE = 'storages_folder.backends.s3boto.StaticStorage'
STATICFILES_STORAGE_DIR = 'static'

MEDIAFILES_STORAGE = 'storages_folder.backends.s3boto.MediaStorage'
MEDIAFILES_STORAGE_DIR = 'media'

Project details


Release history Release notifications

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-storages-folder-0.1.3.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None May 13, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page