Skip to content

Commit 0cda38d

Browse files
committed
fix no_cache
1 parent 9a29f21 commit 0cda38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_custom_objects/api/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_queryset(self):
5050
)
5151
except CustomObjectType.DoesNotExist:
5252
raise Http404
53-
self.model = custom_object_type.get_model_with_serializer(no_cache=True)
53+
self.model = custom_object_type.get_model_with_serializer()
5454
return self.model.objects.all()
5555

5656
@property

0 commit comments

Comments
 (0)