mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -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:
|
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.'):
|
||||||
|
Loading…
Reference in New Issue
Block a user