Update settings.py from suggestions

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
Arzhel Younsi 2024-06-26 15:22:21 +02:00
parent 4399a15622
commit 21753b3919

View File

@ -226,6 +226,7 @@ if STORAGE_BACKEND is not None:
# Monkey-patch django-storages to fetch settings from STORAGE_CONFIG
storages.utils.setting = _setting
# django-storage-swift
elif STORAGE_BACKEND == 'swift.storage.SwiftStorage':
try: