mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00: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