Skip to content

Commit fcc8ecc

Browse files
committed
Closes #16127: Enable loading local settings
1 parent c117218 commit fcc8ecc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

netbox/netbox/settings.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,3 +801,10 @@ def _setting(name, default=None):
801801
RQ_QUEUES.update({
802802
f"{plugin_name}.{queue}": RQ_PARAMS for queue in plugin_config.queues
803803
})
804+
805+
# UNSUPPORTED FUNCTIONALITY: Import any local overrides.
806+
try:
807+
from .local_settings import *
808+
_UNSUPPORTED_SETTINGS = True
809+
except ImportError:
810+
pass

0 commit comments

Comments
 (0)