django-tenant-schemas
django-tenant-schemas copied to clipboard
How to create tenant_schemas.storage.TenantFileSystemStorage within AWS s3 bucket with django-storages 1.12.3
According django tenant_schema doc and django storages doc . Those two package recomendate use same variable named DEFAULT_FILE_STORAGE within settings.py
How to create TenantFileSystemStorage in ASW s3 bucket storage.
# for TenantFileSystemStorage
DEFAULT_FILE_STORAGE = 'tenant_schemas.storage.TenantFileSystemStorage'
# for s3 bucket
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'