From cdb5ee202a67eaa513e0bad1367d56454797b5fb Mon Sep 17 00:00:00 2001 From: Brian Tiemann Date: Fri, 11 Apr 2025 13:32:46 -0400 Subject: [PATCH] Populate STORAGE_CONFIG into STORAGES['default']['OPTIONS'] --- netbox/netbox/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index 0248fa888..c29b09a9b 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -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.'):