20465 fix script re-upload

This commit is contained in:
Arthur 2025-11-12 15:48:12 -08:00 committed by Jeremy Stretch
parent e1bf27e4db
commit 9dcf9475cc
3 changed files with 10 additions and 0 deletions

View File

@ -232,6 +232,9 @@ STORAGES = {
}, },
"scripts": { "scripts": {
"BACKEND": "extras.storage.ScriptFileSystemStorage", "BACKEND": "extras.storage.ScriptFileSystemStorage",
"OPTIONS": {
"allow_overwrite": True,
},
}, },
} }
``` ```
@ -247,6 +250,7 @@ STORAGES = {
"OPTIONS": { "OPTIONS": {
'access_key': 'access key', 'access_key': 'access key',
'secret_key': 'secret key', 'secret_key': 'secret key',
"allow_overwrite": True,
} }
}, },
} }

View File

@ -243,6 +243,9 @@ SESSION_FILE_PATH = None
# }, # },
# "scripts": { # "scripts": {
# "BACKEND": "extras.storage.ScriptFileSystemStorage", # "BACKEND": "extras.storage.ScriptFileSystemStorage",
# "OPTIONS": {
# "allow_overwrite": True,
# },
# }, # },
# } # }

View File

@ -291,6 +291,9 @@ DEFAULT_STORAGES = {
}, },
"scripts": { "scripts": {
"BACKEND": "extras.storage.ScriptFileSystemStorage", "BACKEND": "extras.storage.ScriptFileSystemStorage",
"OPTIONS": {
"allow_overwrite": True,
},
}, },
} }
STORAGES = DEFAULT_STORAGES | STORAGES STORAGES = DEFAULT_STORAGES | STORAGES