mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
Update settings.py from suggestions
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
parent
4399a15622
commit
21753b3919
@ -226,6 +226,7 @@ if STORAGE_BACKEND is not None:
|
|||||||
# Monkey-patch django-storages to fetch settings from STORAGE_CONFIG
|
# Monkey-patch django-storages to fetch settings from STORAGE_CONFIG
|
||||||
storages.utils.setting = _setting
|
storages.utils.setting = _setting
|
||||||
|
|
||||||
|
# django-storage-swift
|
||||||
elif STORAGE_BACKEND == 'swift.storage.SwiftStorage':
|
elif STORAGE_BACKEND == 'swift.storage.SwiftStorage':
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user