mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 10:28:37 -06:00
Populate STORAGE_CONFIG into STORAGES['default']['OPTIONS']
This commit is contained in:
parent
6ed41f6680
commit
cdb5ee202a
@ -240,6 +240,8 @@ STORAGES = {
|
||||
|
||||
if STORAGE_BACKEND is not None:
|
||||
STORAGES['default']['BACKEND'] = STORAGE_BACKEND
|
||||
if STORAGE_CONFIG:
|
||||
STORAGES['default']['OPTIONS'] = STORAGE_CONFIG
|
||||
|
||||
# django-storages
|
||||
if STORAGE_BACKEND.startswith('storages.'):
|
||||
|
Loading…
Reference in New Issue
Block a user