From 1600191440194388ca3114f96d27b980a95d16fe Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 3 Jul 2024 16:20:00 -0400 Subject: [PATCH] #16726: Fix cotent registration bug --- netbox/utilities/templatetags/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/utilities/templatetags/plugins.py b/netbox/utilities/templatetags/plugins.py index a6e8ce84b..3a5eb7346 100644 --- a/netbox/utilities/templatetags/plugins.py +++ b/netbox/utilities/templatetags/plugins.py @@ -22,7 +22,7 @@ def _get_registered_content(obj, method, template_context): 'perms': template_context['perms'], } - template_extensions = registry['plugins']['template_extensions'].get(None, []) + template_extensions = list(registry['plugins']['template_extensions'].get(None, [])) if obj is not None: model_name = obj._meta.label_lower template_extensions.extend(registry['plugins']['template_extensions'].get(model_name, []))