From 600f85ca835c2bb909fe95a65c2560244ab9223c Mon Sep 17 00:00:00 2001 From: btiemann Date: Mon, 30 Jun 2025 14:26:43 -0400 Subject: [PATCH] Clarify docstring to differentiate link and url --- netbox/netbox/plugins/navigation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/netbox/plugins/navigation.py b/netbox/netbox/plugins/navigation.py index 48b2558b0..35c9fa062 100644 --- a/netbox/netbox/plugins/navigation.py +++ b/netbox/netbox/plugins/navigation.py @@ -32,7 +32,8 @@ class PluginMenuItem: This class represents a navigation menu item. This constitutes primary link and its text, but also allows for specifying additional link buttons that appear to the right of the item in the van menu. - Links are specified as Django reverse URL strings. + Links are specified as Django reverse URL strings suitable for rendering via {% url item.link %}. + Alternatively, a pre-generated url can be specified which will be rendered literally. Buttons are each specified as a list of PluginMenuButton instances. """ permissions = []