django-tenant-schemas icon indicating copy to clipboard operation
django-tenant-schemas copied to clipboard

How to create tenant_schemas.storage.TenantFileSystemStorage within AWS s3 bucket with django-storages 1.12.3

Open mn-48 opened this issue 3 years ago • 0 comments

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'

mn-48 avatar Jan 17 '22 05:01 mn-48