Skip to content

ryanpineo/django-storages-folder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-storages-folder

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'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages