netbox-plugin-device-map/netbox_device_map/settings.py

8 lines
302 B
Python
Raw Normal View History

2022-05-26 09:53:13 +03:00
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']