Add test bucket when testing, so we can nuke debug files
This commit is contained in:
parent
c1e8762287
commit
a964ee03d2
@ -194,7 +194,10 @@ LOCALE_PATHS = [
|
||||
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
|
||||
|
||||
AWS_S3_ENDPOINT_URL = "https://ojuso-media.nyc3.digitaloceanspaces.com"
|
||||
AWS_STORAGE_BUCKET_NAME = "ojuso-media"
|
||||
if DEBUG:
|
||||
AWS_STORAGE_BUCKET_NAME = "debug-test"
|
||||
else:
|
||||
AWS_STORAGE_BUCKET_NAME = "ojuso-media"
|
||||
AWS_LOCATION = ""
|
||||
AWS_S3_REGION_NAME = "nyc3"
|
||||
AWS_S3_CUSTOM_DOMAIN = "ojuso-media.nyc3.digitaloceanspaces.com/ojuso-media"
|
||||
|
Loading…
Reference in New Issue
Block a user