diff --git a/netbox/dcim/templatetags/mptt.py b/netbox/dcim/templatetags/mptt.py index 92b84375373..9b76e525c07 100644 --- a/netbox/dcim/templatetags/mptt.py +++ b/netbox/dcim/templatetags/mptt.py @@ -6,7 +6,7 @@ @register.simple_tag(takes_context=True) -def display_region(context, obj): +def nested_tree(context, obj): """ Renders hierarchical region data for a given object. """ diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index a9b31650d50..3367f17eb5e 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -17,7 +17,7 @@