diff --git a/hooks/horizon_contexts.py b/hooks/horizon_contexts.py index 2658fd1c..ae96116b 100644 --- a/hooks/horizon_contexts.py +++ b/hooks/horizon_contexts.py @@ -272,7 +272,7 @@ class LocalSettingsContext(OSContextGenerator): relations = [] - for rid in relation_ids("plugin"): + for rid in relation_ids("dashboard-plugin"): try: unit = related_units(rid)[0] except IndexError: diff --git a/templates/newton/local_settings.py b/templates/newton/local_settings.py index cd44f39d..45125cac 100644 --- a/templates/newton/local_settings.py +++ b/templates/newton/local_settings.py @@ -973,3 +973,4 @@ ALLOWED_PRIVATE_SUBNET_CIDR = {'ipv4': [], 'ipv6': []} #USER_TABLE_EXTRA_INFO = { # 'phone_num': _('Phone Number'), #} +{{ settings|join('\n\n') }}