Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion netbox_custom_objects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def get_queryset(self, request):
return self.queryset
custom_object_type = self.kwargs.get("custom_object_type", None)
self.custom_object_type = CustomObjectType.objects.get(
name__iexact=custom_object_type
slug=custom_object_type
)
model = self.custom_object_type.get_model_with_serializer()
return model.objects.all()
Expand Down