mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-24 02:11:50 +01:00
Standardized implementation of nested ViewSets
This commit is contained in:
@@ -28,9 +28,6 @@ ERR_PRIVKEY_INVALID = "Invalid private key."
|
||||
#
|
||||
|
||||
class SecretRoleViewSet(ModelViewSet):
|
||||
"""
|
||||
List and retrieve secret roles
|
||||
"""
|
||||
queryset = SecretRole.objects.all()
|
||||
serializer_class = serializers.SecretRoleSerializer
|
||||
permission_classes = [IsAuthenticated]
|
||||
|
||||
Reference in New Issue
Block a user