mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-21 09:01:31 -08:00
remove tp/storage_backends.py
This commit is contained in:
parent
d032d257d1
commit
aef867a9c6
@ -1,18 +0,0 @@
|
|||||||
from storages.backends.s3boto3 import S3Boto3Storage
|
|
||||||
# from django.conf import settings
|
|
||||||
|
|
||||||
|
|
||||||
class StaticStorage(S3Boto3Storage):
|
|
||||||
location = 'static'
|
|
||||||
default_acl = 'public-read'
|
|
||||||
|
|
||||||
|
|
||||||
class PublicMP3Storage(S3Boto3Storage):
|
|
||||||
location = 'mp3'
|
|
||||||
default_acl = 'public-read'
|
|
||||||
# file_overwrite = False
|
|
||||||
|
|
||||||
|
|
||||||
class PublicImageStorage(S3Boto3Storage):
|
|
||||||
location = 'images'
|
|
||||||
default_acl = 'public-read'
|
|
Loading…
Reference in New Issue
Block a user