Populate STORAGE_CONFIG into STORAGES['default']['OPTIONS']

This commit is contained in:
Brian Tiemann 2025-04-11 13:32:46 -04:00
parent 6ed41f6680
commit cdb5ee202a

View File

@ -240,6 +240,8 @@ STORAGES = {
if STORAGE_BACKEND is not None: if STORAGE_BACKEND is not None:
STORAGES['default']['BACKEND'] = STORAGE_BACKEND STORAGES['default']['BACKEND'] = STORAGE_BACKEND
if STORAGE_CONFIG:
STORAGES['default']['OPTIONS'] = STORAGE_CONFIG
# django-storages # django-storages
if STORAGE_BACKEND.startswith('storages.'): if STORAGE_BACKEND.startswith('storages.'):