netbox-plugin-device-map/netbox_device_map/settings.py
Victor Golovanenko a3862a975c
Initial commit
2022-05-26 09:53:13 +03:00

8 lines
302 B
Python

from django.conf import settings
from . import config
# Overlay custom settings over default settings
plugin_settings = config.default_settings | settings.PLUGINS_CONFIG[config.name]
plugin_settings['geomap_settings'] = config.default_settings['geomap_settings'] | plugin_settings['geomap_settings']