We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80371bd commit 8750bebCopy full SHA for 8750beb
netbox_custom_objects/api/views.py
@@ -50,7 +50,7 @@ def get_queryset(self):
50
)
51
except CustomObjectType.DoesNotExist:
52
raise Http404
53
- self.model = custom_object_type.get_model()
+ self.model = custom_object_type.get_model_with_serializer(no_cache=True)
54
return self.model.objects.all()
55
56
@property
0 commit comments