Skip to content

Commit 774e821

Browse files
committed
fix: 🐛 Fix related objects and count on Netbox Objects
1 parent 2981bb4 commit 774e821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_custom_objects/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def get_extra_context(self, request):
386386
}
387387

388388

389-
@register_model_view(CustomObject)
389+
@register_model_view(CustomObject, 'list', path='', detail=False)
390390
class CustomObjectView(generic.ObjectView):
391391
template_name = "netbox_custom_objects/customobject.html"
392392

0 commit comments

Comments
 (0)